diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-09 23:04:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-09 23:04:54 -0400 |
commit | 526b678093a8a4bcf1ffffbe17bcf21c057eddf5 (patch) | |
tree | 6c0a5b35783f1e89406b667c9c525571d1b4d24e /fs/ext2/namei.c | |
parent | 752015d1b0683a8c623ebfe4c62893413e9b30d3 (diff) | |
parent | 18f4c644773bc8de1fd9c5182b30c231aafb94ef (diff) |
Merge branch 'lookup-permissions-cleanup'
* lookup-permissions-cleanup:
jffs2/jfs/xfs: switch over to 'check_acl' rather than 'permission()'
ext[234]: move over to 'check_acl' permission model
shmfs: use 'check_acl' instead of 'permission'
Make 'check_acl()' a first-class filesystem op
Simplify exec_permission_lite(), part 3
Simplify exec_permission_lite() further
Simplify exec_permission_lite() logic
Do not call 'ima_path_check()' for each path component
Diffstat (limited to 'fs/ext2/namei.c')
-rw-r--r-- | fs/ext2/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c index 78d9b925fc94..23701f289e98 100644 --- a/fs/ext2/namei.c +++ b/fs/ext2/namei.c | |||
@@ -400,7 +400,7 @@ const struct inode_operations ext2_dir_inode_operations = { | |||
400 | .removexattr = generic_removexattr, | 400 | .removexattr = generic_removexattr, |
401 | #endif | 401 | #endif |
402 | .setattr = ext2_setattr, | 402 | .setattr = ext2_setattr, |
403 | .permission = ext2_permission, | 403 | .check_acl = ext2_check_acl, |
404 | }; | 404 | }; |
405 | 405 | ||
406 | const struct inode_operations ext2_special_inode_operations = { | 406 | const struct inode_operations ext2_special_inode_operations = { |
@@ -411,5 +411,5 @@ const struct inode_operations ext2_special_inode_operations = { | |||
411 | .removexattr = generic_removexattr, | 411 | .removexattr = generic_removexattr, |
412 | #endif | 412 | #endif |
413 | .setattr = ext2_setattr, | 413 | .setattr = ext2_setattr, |
414 | .permission = ext2_permission, | 414 | .check_acl = ext2_check_acl, |
415 | }; | 415 | }; |