diff options
| author | David S. Miller <davem@davemloft.net> | 2009-09-11 23:35:13 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-09-11 23:35:13 -0400 |
| commit | cabc5c0f7fa1342049042d6e147db5a73773955b (patch) | |
| tree | 2be09ae1777d580c7dfe05d6d5b76e57281ec447 /fs/xfs/linux-2.6/xfs_iops.c | |
| parent | b73d884756303316ead4cd7dad51236b2a515a1a (diff) | |
| parent | 86d710146fb9975f04c505ec78caa43d227c1018 (diff) | |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts:
arch/sparc/Kconfig
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
| -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 8070b34cc287..6c32f1d63d8c 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
| @@ -485,14 +485,6 @@ xfs_vn_put_link( | |||
| 485 | } | 485 | } |
| 486 | 486 | ||
| 487 | STATIC int | 487 | STATIC int |
| 488 | xfs_vn_permission( | ||
| 489 | struct inode *inode, | ||
| 490 | int mask) | ||
| 491 | { | ||
| 492 | return generic_permission(inode, mask, xfs_check_acl); | ||
| 493 | } | ||
| 494 | |||
| 495 | STATIC int | ||
| 496 | xfs_vn_getattr( | 488 | xfs_vn_getattr( |
| 497 | struct vfsmount *mnt, | 489 | struct vfsmount *mnt, |
| 498 | struct dentry *dentry, | 490 | struct dentry *dentry, |
| @@ -696,7 +688,7 @@ xfs_vn_fiemap( | |||
| 696 | } | 688 | } |
| 697 | 689 | ||
| 698 | static const struct inode_operations xfs_inode_operations = { | 690 | static const struct inode_operations xfs_inode_operations = { |
| 699 | .permission = xfs_vn_permission, | 691 | .check_acl = xfs_check_acl, |
| 700 | .truncate = xfs_vn_truncate, | 692 | .truncate = xfs_vn_truncate, |
| 701 | .getattr = xfs_vn_getattr, | 693 | .getattr = xfs_vn_getattr, |
| 702 | .setattr = xfs_vn_setattr, | 694 | .setattr = xfs_vn_setattr, |
| @@ -724,7 +716,7 @@ static const struct inode_operations xfs_dir_inode_operations = { | |||
| 724 | .rmdir = xfs_vn_unlink, | 716 | .rmdir = xfs_vn_unlink, |
| 725 | .mknod = xfs_vn_mknod, | 717 | .mknod = xfs_vn_mknod, |
| 726 | .rename = xfs_vn_rename, | 718 | .rename = xfs_vn_rename, |
| 727 | .permission = xfs_vn_permission, | 719 | .check_acl = xfs_check_acl, |
| 728 | .getattr = xfs_vn_getattr, | 720 | .getattr = xfs_vn_getattr, |
| 729 | .setattr = xfs_vn_setattr, | 721 | .setattr = xfs_vn_setattr, |
| 730 | .setxattr = generic_setxattr, | 722 | .setxattr = generic_setxattr, |
| @@ -749,7 +741,7 @@ static const struct inode_operations xfs_dir_ci_inode_operations = { | |||
| 749 | .rmdir = xfs_vn_unlink, | 741 | .rmdir = xfs_vn_unlink, |
| 750 | .mknod = xfs_vn_mknod, | 742 | .mknod = xfs_vn_mknod, |
| 751 | .rename = xfs_vn_rename, | 743 | .rename = xfs_vn_rename, |
| 752 | .permission = xfs_vn_permission, | 744 | .check_acl = xfs_check_acl, |
| 753 | .getattr = xfs_vn_getattr, | 745 | .getattr = xfs_vn_getattr, |
| 754 | .setattr = xfs_vn_setattr, | 746 | .setattr = xfs_vn_setattr, |
| 755 | .setxattr = generic_setxattr, | 747 | .setxattr = generic_setxattr, |
| @@ -762,7 +754,7 @@ static const struct inode_operations xfs_symlink_inode_operations = { | |||
| 762 | .readlink = generic_readlink, | 754 | .readlink = generic_readlink, |
| 763 | .follow_link = xfs_vn_follow_link, | 755 | .follow_link = xfs_vn_follow_link, |
| 764 | .put_link = xfs_vn_put_link, | 756 | .put_link = xfs_vn_put_link, |
| 765 | .permission = xfs_vn_permission, | 757 | .check_acl = xfs_check_acl, |
| 766 | .getattr = xfs_vn_getattr, | 758 | .getattr = xfs_vn_getattr, |
| 767 | .setattr = xfs_vn_setattr, | 759 | .setattr = xfs_vn_setattr, |
| 768 | .setxattr = generic_setxattr, | 760 | .setxattr = generic_setxattr, |
