Btrfs: check for read permission on src file in the clone ioctl
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>
Please register or sign in to comment
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
source.puri.sm migrated to a new server, see new ssh key fingerprint.
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>