commit | b74c79e99389cd79b31fcc08f82c24e492e63c7e | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:49:58 2011 +1100 |
committer | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:50:29 2011 +1100 |
tree | 763c6b412517306670bc625e90035f2d16bb739f | |
parent | 34286d6662308d82aed891852d04c7c3a2649b16 [diff] [blame] |
fs: provide rcu-walk aware permission i_ops Signed-off-by: Nick Piggin <npiggin@kernel.dk>
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index aa99647..fca6689 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c
@@ -241,7 +241,7 @@ !capable(CAP_LINUX_IMMUTABLE)) goto out; if (!IS_IMMUTABLE(inode)) { - error = gfs2_permission(inode, MAY_WRITE); + error = gfs2_permission(inode, MAY_WRITE, 0); if (error) goto out; }