commit | 1c1c8747cd0528fe1d225badf25bf5346d799ea3 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 11 23:07:51 2013 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jan 25 03:13:03 2014 -0500 |
tree | 05de87ea5f6268946abfe39c26770d65a7c4373e | |
parent | 208adb6403e079ceeb8e731696615d22db6f397b [diff] |
btrfs: sanitize BTRFS_IOC_FILE_EXTENT_SAME * don't assume that ->dest_count won't change between copy_from_user() and memdup_user() * use fdget instead of fget * don't bother comparing superblocks when we'd already compared vfsmounts * get rid of excessive goto * use file_inode() instead of open-coding the sucker Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>