summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-21 03:56:31 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 07:43:36 +0200
commit76fe3276be26cff2e609cdcfbc1265cf1dd72b2c (patch)
tree67e25ccf9a76e5cad7bee3087d8f305a9cc1ec8d /Documentation/filesystems
parentmerge do_revalidate() into its only caller (diff)
downloadlinux-76fe3276be26cff2e609cdcfbc1265cf1dd72b2c.tar.xz
linux-76fe3276be26cff2e609cdcfbc1265cf1dd72b2c.zip
->permission() sanitizing: document API changes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/porting10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index 6e29954851a2..0eeb3954dea3 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -400,10 +400,14 @@ a file off.
--
[mandatory]
-
---
-[mandatory]
->get_sb() is gone. Switch to use of ->mount(). Typically it's just
a matter of switching from calling get_sb_... to mount_... and changing the
function type. If you were doing it manually, just switch from setting ->mnt_root
to some pointer to returning that pointer. On errors return ERR_PTR(...).
+
+--
+[mandatory]
+ ->permission(), generic_permission() and ->check_acl() have lost flags
+argument; instead of passing IPERM_FLAG_RCU we add MAY_NOT_BLOCK into mask.
+ generic_permission() has also lost the check_acl argument; if you want
+non-NULL to be used for that inode, put it into ->i_op->check_acl.