commit | 5dc6416414fb3ec6e2825fd4d20c8bf1d7fe0395 | [log] [tgz] |
---|---|---|
author | Dan Rosenberg <dan.j.rosenberg@gmail.com> | Sat May 15 11:27:37 2010 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Sat May 15 12:05:50 2010 -0400 |
tree | e15101a2d1302ff6f2830f282197b34060ec963c | |
parent | 9f680ce04ea19dabbbafe01b57b61930a9b70741 [diff] |
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>