From: Al Viro Date: Thu, 12 Dec 2013 04:07:51 +0000 (-0500) Subject: btrfs: sanitize BTRFS_IOC_FILE_EXTENT_SAME X-Git-Tag: v3.14-rc1~78^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1c8747cd0528fe1d225badf25bf5346d799ea3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed