Btrfs: check for read permission on src file in the clone ioctl
commit 5dc64164 upstream. The existing code would have allowed you to clone a file that was only open for writing Signed-off-by:Chris Mason <chris.mason@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
Please register or sign in to comment