From 88b1e46f9937233990868bfb3cf34f5778709716 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 20 Jun 2011 21:56:31 -0400 Subject: [PATCH] --- yaml --- r: 257325 b: refs/heads/master c: 76fe3276be26cff2e609cdcfbc1265cf1dd72b2c h: refs/heads/master i: 257323: 14483957a8fbbfe2402efc6da49070e2f08dee26 v: v3 --- [refs] | 2 +- trunk/Documentation/filesystems/porting | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index e7ccd6904950..64cefaaf0af7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d2d9e9fbc2f8f492dae373482da61d34475c53c1 +refs/heads/master: 76fe3276be26cff2e609cdcfbc1265cf1dd72b2c diff --git a/trunk/Documentation/filesystems/porting b/trunk/Documentation/filesystems/porting index 6e29954851a2..0eeb3954dea3 100644 --- a/trunk/Documentation/filesystems/porting +++ b/trunk/Documentation/filesystems/porting @@ -398,12 +398,16 @@ Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set, so the i_size should not change when hole punching, even when puching the end of 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.