aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-20 19:28:19 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:43:24 -0400
commit10556cb21a0d0b24d95f00ea6df16f599a3345b2 (patch)
tree3d7d8dfba807805a55c154f1850717bf3b49f343 /Documentation
parent2830ba7f34ebb27c4e5b8b6ef408cd6d74860890 (diff)
->permission() sanitizing: don't pass flags to ->permission()
not used by the instances anymore. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/vfs.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 8b4c8e04d879..d56151fe77dc 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -333,7 +333,7 @@ struct inode_operations {
333 void * (*follow_link) (struct dentry *, struct nameidata *); 333 void * (*follow_link) (struct dentry *, struct nameidata *);
334 void (*put_link) (struct dentry *, struct nameidata *, void *); 334 void (*put_link) (struct dentry *, struct nameidata *, void *);
335 void (*truncate) (struct inode *); 335 void (*truncate) (struct inode *);
336 int (*permission) (struct inode *, int, unsigned int); 336 int (*permission) (struct inode *, int);
337 int (*check_acl)(struct inode *, int); 337 int (*check_acl)(struct inode *, int);
338 int (*setattr) (struct dentry *, struct iattr *); 338 int (*setattr) (struct dentry *, struct iattr *);
339 int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *); 339 int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *);
@@ -423,7 +423,7 @@ otherwise noted.
423 permission: called by the VFS to check for access rights on a POSIX-like 423 permission: called by the VFS to check for access rights on a POSIX-like
424 filesystem. 424 filesystem.
425 425
426 May be called in rcu-walk mode (flags & IPERM_FLAG_RCU). If in rcu-walk 426 May be called in rcu-walk mode (mask & MAY_NOT_BLOCK). If in rcu-walk
427 mode, the filesystem must check the permission without blocking or 427 mode, the filesystem must check the permission without blocking or
428 storing to the inode. 428 storing to the inode.
429 429