aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c16
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 cdf7114d41fc..cd42ef78f6b5 100644
--- a/fs/xfs/linux-2.6/xfs_iops.c
+++ b/fs/xfs/linux-2.6/xfs_iops.c
@@ -475,14 +475,6 @@ xfs_vn_put_link(
475} 475}
476 476
477STATIC int 477STATIC int
478xfs_vn_permission(
479 struct inode *inode,
480 int mask)
481{
482 return generic_permission(inode, mask, xfs_check_acl);
483}
484
485STATIC int
486xfs_vn_getattr( 478xfs_vn_getattr(
487 struct vfsmount *mnt, 479 struct vfsmount *mnt,
488 struct dentry *dentry, 480 struct dentry *dentry,
@@ -684,7 +676,7 @@ xfs_vn_fiemap(
684} 676}
685 677
686static const struct inode_operations xfs_inode_operations = { 678static const struct inode_operations xfs_inode_operations = {
687 .permission = xfs_vn_permission, 679 .check_acl = xfs_check_acl,
688 .truncate = xfs_vn_truncate, 680 .truncate = xfs_vn_truncate,
689 .getattr = xfs_vn_getattr, 681 .getattr = xfs_vn_getattr,
690 .setattr = xfs_vn_setattr, 682 .setattr = xfs_vn_setattr,
@@ -712,7 +704,7 @@ static const struct inode_operations xfs_dir_inode_operations = {
712 .rmdir = xfs_vn_unlink, 704 .rmdir = xfs_vn_unlink,
713 .mknod = xfs_vn_mknod, 705 .mknod = xfs_vn_mknod,
714 .rename = xfs_vn_rename, 706 .rename = xfs_vn_rename,
715 .permission = xfs_vn_permission, 707 .check_acl = xfs_check_acl,
716 .getattr = xfs_vn_getattr, 708 .getattr = xfs_vn_getattr,
717 .setattr = xfs_vn_setattr, 709 .setattr = xfs_vn_setattr,
718 .setxattr = generic_setxattr, 710 .setxattr = generic_setxattr,
@@ -737,7 +729,7 @@ static const struct inode_operations xfs_dir_ci_inode_operations = {
737 .rmdir = xfs_vn_unlink, 729 .rmdir = xfs_vn_unlink,
738 .mknod = xfs_vn_mknod, 730 .mknod = xfs_vn_mknod,
739 .rename = xfs_vn_rename, 731 .rename = xfs_vn_rename,
740 .permission = xfs_vn_permission, 732 .check_acl = xfs_check_acl,
741 .getattr = xfs_vn_getattr, 733 .getattr = xfs_vn_getattr,
742 .setattr = xfs_vn_setattr, 734 .setattr = xfs_vn_setattr,
743 .setxattr = generic_setxattr, 735 .setxattr = generic_setxattr,
@@ -750,7 +742,7 @@ static const struct inode_operations xfs_symlink_inode_operations = {
750 .readlink = generic_readlink, 742 .readlink = generic_readlink,
751 .follow_link = xfs_vn_follow_link, 743 .follow_link = xfs_vn_follow_link,
752 .put_link = xfs_vn_put_link, 744 .put_link = xfs_vn_put_link,
753 .permission = xfs_vn_permission, 745 .check_acl = xfs_check_acl,
754 .getattr = xfs_vn_getattr, 746 .getattr = xfs_vn_getattr,
755 .setattr = xfs_vn_setattr, 747 .setattr = xfs_vn_setattr,
756 .setxattr = generic_setxattr, 748 .setxattr = generic_setxattr,