summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-04-22 09:33:33 +0200
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-29 07:53:16 +0200
commit4e5dbb3498e74514b9936d691413afc55fb84ea9 (patch)
tree1ed8b98d33e243f404f9c7fa28c4b0e2a6016508 /fs/xfs/xfs_vnodeops.h
parent[XFS] Remove VN_IS* macros and related cruft. (diff)
downloadlinux-4e5dbb3498e74514b9936d691413afc55fb84ea9.tar.xz
linux-4e5dbb3498e74514b9936d691413afc55fb84ea9.zip
[XFS] kill xfs_getattr
It's currently used by the ACL code to read di_mode/di_uid, but these are simple 32bit scalar values we can just read directly without locking. SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30897a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.h')
-rw-r--r--fs/xfs/xfs_vnodeops.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vnodeops.h b/fs/xfs/xfs_vnodeops.h
index 24c53923dc2c..6b66904a3837 100644
--- a/fs/xfs/xfs_vnodeops.h
+++ b/fs/xfs/xfs_vnodeops.h
@@ -15,7 +15,6 @@ struct xfs_iomap;
int xfs_open(struct xfs_inode *ip);
-int xfs_getattr(struct xfs_inode *ip, struct bhv_vattr *vap, int flags);
int xfs_setattr(struct xfs_inode *ip, struct bhv_vattr *vap, int flags,
struct cred *credp);
int xfs_readlink(struct xfs_inode *ip, char *link);