diff options
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 626b474b2cdd..da0159d99f82 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -484,14 +484,6 @@ xfs_vn_put_link( | |||
484 | } | 484 | } |
485 | 485 | ||
486 | STATIC int | 486 | STATIC int |
487 | xfs_vn_permission( | ||
488 | struct inode *inode, | ||
489 | int mask) | ||
490 | { | ||
491 | return generic_permission(inode, mask, xfs_check_acl); | ||
492 | } | ||
493 | |||
494 | STATIC int | ||
495 | xfs_vn_getattr( | 487 | xfs_vn_getattr( |
496 | struct vfsmount *mnt, | 488 | struct vfsmount *mnt, |
497 | struct dentry *dentry, | 489 | struct dentry *dentry, |
@@ -695,7 +687,7 @@ xfs_vn_fiemap( | |||
695 | } | 687 | } |
696 | 688 | ||
697 | static const struct inode_operations xfs_inode_operations = { | 689 | static const struct inode_operations xfs_inode_operations = { |
698 | .permission = xfs_vn_permission, | 690 | .check_acl = xfs_check_acl, |
699 | .truncate = xfs_vn_truncate, | 691 | .truncate = xfs_vn_truncate, |
700 | .getattr = xfs_vn_getattr, | 692 | .getattr = xfs_vn_getattr, |
701 | .setattr = xfs_vn_setattr, | 693 | .setattr = xfs_vn_setattr, |
@@ -723,7 +715,7 @@ static const struct inode_operations xfs_dir_inode_operations = { | |||
723 | .rmdir = xfs_vn_unlink, | 715 | .rmdir = xfs_vn_unlink, |
724 | .mknod = xfs_vn_mknod, | 716 | .mknod = xfs_vn_mknod, |
725 | .rename = xfs_vn_rename, | 717 | .rename = xfs_vn_rename, |
726 | .permission = xfs_vn_permission, | 718 | .check_acl = xfs_check_acl, |
727 | .getattr = xfs_vn_getattr, | 719 | .getattr = xfs_vn_getattr, |
728 | .setattr = xfs_vn_setattr, | 720 | .setattr = xfs_vn_setattr, |
729 | .setxattr = generic_setxattr, | 721 | .setxattr = generic_setxattr, |
@@ -748,7 +740,7 @@ static const struct inode_operations xfs_dir_ci_inode_operations = { | |||
748 | .rmdir = xfs_vn_unlink, | 740 | .rmdir = xfs_vn_unlink, |
749 | .mknod = xfs_vn_mknod, | 741 | .mknod = xfs_vn_mknod, |
750 | .rename = xfs_vn_rename, | 742 | .rename = xfs_vn_rename, |
751 | .permission = xfs_vn_permission, | 743 | .check_acl = xfs_check_acl, |
752 | .getattr = xfs_vn_getattr, | 744 | .getattr = xfs_vn_getattr, |
753 | .setattr = xfs_vn_setattr, | 745 | .setattr = xfs_vn_setattr, |
754 | .setxattr = generic_setxattr, | 746 | .setxattr = generic_setxattr, |
@@ -761,7 +753,7 @@ static const struct inode_operations xfs_symlink_inode_operations = { | |||
761 | .readlink = generic_readlink, | 753 | .readlink = generic_readlink, |
762 | .follow_link = xfs_vn_follow_link, | 754 | .follow_link = xfs_vn_follow_link, |
763 | .put_link = xfs_vn_put_link, | 755 | .put_link = xfs_vn_put_link, |
764 | .permission = xfs_vn_permission, | 756 | .check_acl = xfs_check_acl, |
765 | .getattr = xfs_vn_getattr, | 757 | .getattr = xfs_vn_getattr, |
766 | .setattr = xfs_vn_setattr, | 758 | .setattr = xfs_vn_setattr, |
767 | .setxattr = generic_setxattr, | 759 | .setxattr = generic_setxattr, |