https://bugs.kde.org/show_bug.cgi?id=397605

--- Comment #2 from Laurent Bonnans <laurent.bonn...@here.com> ---
I've sent a patch to handle FICLONE correctly. It seems to me that the ioctl
definition in Linux's uapi is misleading because it is set with a write
direction but do not use the argument as a pointer (it is a file descriptor).
Hence the error in the generic ioctl handler.

It can be tested by running this command on a btrfs filesystem (might do it
with another fs, haven't tested):

    valgrind cp --reflink=always example.txt example_copy.txt

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to