[PATCH] sanitize ->permission() prototype
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Jul 2008 01:03:57 +0000 (21:03 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:14 +0000 (20:53 -0400)
commite6305c43eda10ebfd2ad9e35d6e172ccc7bb3695
tree8a95bd0e27fb3ce895cca9ef91af2e1605e4cdab
parent1bd5191d9f5d1928c4efdf604c4164b04bb88dbe
[PATCH] sanitize ->permission() prototype

* kill nameidata * argument; map the 3 bits in ->flags anybody cares
  about to new MAY_... ones and pass with the mask.
* kill redundant gfs2_iop_permission()
* sanitize ecryptfs_permission()
* fix remaining places where ->permission() instances might barf on new
  MAY_... found in mask.

The obvious next target in that direction is permission(9)

folded fix for nfs_permission() breakage from Miklos Szeredi <mszeredi@suse.cz>

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
38 files changed:
fs/afs/internal.h
fs/afs/security.c
fs/bad_inode.c
fs/cifs/cifsfs.c
fs/coda/dir.c
fs/coda/pioctl.c
fs/ecryptfs/inode.c
fs/ext2/acl.c
fs/ext2/acl.h
fs/ext3/acl.c
fs/ext3/acl.h
fs/ext4/acl.c
fs/ext4/acl.h
fs/fuse/dir.c
fs/gfs2/ops_inode.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/hostfs/hostfs_kern.c
fs/jffs2/acl.c
fs/jffs2/acl.h
fs/jfs/acl.c
fs/jfs/jfs_acl.h
fs/namei.c
fs/nfs/dir.c
fs/ocfs2/file.c
fs/ocfs2/file.h
fs/proc/base.c
fs/proc/proc_sysctl.c
fs/reiserfs/xattr.c
fs/smbfs/file.c
fs/xfs/linux-2.6/xfs_iops.c
include/linux/coda_linux.h
include/linux/fs.h
include/linux/nfs_fs.h
include/linux/reiserfs_xattr.h
include/linux/shmem_fs.h
kernel/sysctl.c
mm/shmem_acl.c