|
@@ -484,14 +484,6 @@ xfs_vn_put_link(
|
|
|
kfree(s);
|
|
|
}
|
|
|
|
|
|
-STATIC int
|
|
|
-xfs_vn_permission(
|
|
|
- struct inode *inode,
|
|
|
- int mask)
|
|
|
-{
|
|
|
- return generic_permission(inode, mask, xfs_check_acl);
|
|
|
-}
|
|
|
-
|
|
|
STATIC int
|
|
|
xfs_vn_getattr(
|
|
|
struct vfsmount *mnt,
|
|
@@ -696,7 +688,7 @@ xfs_vn_fiemap(
|
|
|
}
|
|
|
|
|
|
static const struct inode_operations xfs_inode_operations = {
|
|
|
- .permission = xfs_vn_permission,
|
|
|
+ .check_acl = xfs_check_acl,
|
|
|
.truncate = xfs_vn_truncate,
|
|
|
.getattr = xfs_vn_getattr,
|
|
|
.setattr = xfs_vn_setattr,
|
|
@@ -724,7 +716,7 @@ static const struct inode_operations xfs_dir_inode_operations = {
|
|
|
.rmdir = xfs_vn_unlink,
|
|
|
.mknod = xfs_vn_mknod,
|
|
|
.rename = xfs_vn_rename,
|
|
|
- .permission = xfs_vn_permission,
|
|
|
+ .check_acl = xfs_check_acl,
|
|
|
.getattr = xfs_vn_getattr,
|
|
|
.setattr = xfs_vn_setattr,
|
|
|
.setxattr = generic_setxattr,
|
|
@@ -749,7 +741,7 @@ static const struct inode_operations xfs_dir_ci_inode_operations = {
|
|
|
.rmdir = xfs_vn_unlink,
|
|
|
.mknod = xfs_vn_mknod,
|
|
|
.rename = xfs_vn_rename,
|
|
|
- .permission = xfs_vn_permission,
|
|
|
+ .check_acl = xfs_check_acl,
|
|
|
.getattr = xfs_vn_getattr,
|
|
|
.setattr = xfs_vn_setattr,
|
|
|
.setxattr = generic_setxattr,
|
|
@@ -762,7 +754,7 @@ static const struct inode_operations xfs_symlink_inode_operations = {
|
|
|
.readlink = generic_readlink,
|
|
|
.follow_link = xfs_vn_follow_link,
|
|
|
.put_link = xfs_vn_put_link,
|
|
|
- .permission = xfs_vn_permission,
|
|
|
+ .check_acl = xfs_check_acl,
|
|
|
.getattr = xfs_vn_getattr,
|
|
|
.setattr = xfs_vn_setattr,
|
|
|
.setxattr = generic_setxattr,
|