diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-12-11 23:07:51 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 03:13:03 -0500 |
commit | 1c1c8747cd0528fe1d225badf25bf5346d799ea3 (patch) | |
tree | 05de87ea5f6268946abfe39c26770d65a7c4373e /fs/nls/nls_cp775.c | |
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>
Diffstat (limited to 'fs/nls/nls_cp775.c')
0 files changed, 0 insertions, 0 deletions