->permission() sanitizing: don't pass flags to generic_permission()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 23:16:29 +0000 (19:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:22 +0000 (01:43 -0400)
commit2830ba7f34ebb27c4e5b8b6ef408cd6d74860890
treebbcebc14bffd000f1dfcbf37e64f56d2f49581ac
parent7e40145eb111a5192e6d819f764db9d6828d1abb
->permission() sanitizing: don't pass flags to generic_permission()

redundant; all callers get it duplicated in mask & MAY_NOT_BLOCK and none of
them removes that bit.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 files changed:
fs/afs/security.c
fs/btrfs/inode.c
fs/ceph/inode.c
fs/cifs/cifsfs.c
fs/fuse/dir.c
fs/gfs2/inode.c
fs/hostfs/hostfs_kern.c
fs/hpfs/namei.c
fs/namei.c
fs/nfs/dir.c
fs/nilfs2/inode.c
fs/ocfs2/file.c
fs/proc/base.c
fs/reiserfs/xattr.c
fs/sysfs/inode.c
include/linux/fs.h