diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 076555e8763f..27e1bea8169f 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -898,27 +898,6 @@ xfs_setattr( | |||
898 | return code; | 898 | return code; |
899 | } | 899 | } |
900 | 900 | ||
901 | |||
902 | /* | ||
903 | * xfs_access | ||
904 | * Null conversion from vnode mode bits to inode mode bits, as in efs. | ||
905 | */ | ||
906 | int | ||
907 | xfs_access( | ||
908 | xfs_inode_t *ip, | ||
909 | int mode, | ||
910 | cred_t *credp) | ||
911 | { | ||
912 | int error; | ||
913 | |||
914 | xfs_itrace_entry(ip); | ||
915 | xfs_ilock(ip, XFS_ILOCK_SHARED); | ||
916 | error = xfs_iaccess(ip, mode, credp); | ||
917 | xfs_iunlock(ip, XFS_ILOCK_SHARED); | ||
918 | return error; | ||
919 | } | ||
920 | |||
921 | |||
922 | /* | 901 | /* |
923 | * The maximum pathlen is 1024 bytes. Since the minimum file system | 902 | * The maximum pathlen is 1024 bytes. Since the minimum file system |
924 | * blocksize is 512 bytes, we can get a max of 2 extents back from | 903 | * blocksize is 512 bytes, we can get a max of 2 extents back from |