aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-03-05 21:46:49 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-17 21:41:25 -0400
commit5f90150abad61b49dbb4a6ca1087fe0a75001ef9 (patch)
tree21a1a0fb9edc473ab0be08ad0158ed658c086c01 /fs/xfs
parentaf048193fcfe2650e7ed3b1ab3d48b1ed0efb467 (diff)
[XFS] cleanup vnode use in xfs_bmap.c
SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30553a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_bmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 19aae13b7f95..bce8e3bd8ad1 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -5772,7 +5772,6 @@ xfs_getbmap(
5772 int error; /* return value */ 5772 int error; /* return value */
5773 __int64_t fixlen; /* length for -1 case */ 5773 __int64_t fixlen; /* length for -1 case */
5774 int i; /* extent number */ 5774 int i; /* extent number */
5775 bhv_vnode_t *vp; /* corresponding vnode */
5776 int lock; /* lock state */ 5775 int lock; /* lock state */
5777 xfs_bmbt_irec_t *map; /* buffer for user's data */ 5776 xfs_bmbt_irec_t *map; /* buffer for user's data */
5778 xfs_mount_t *mp; /* file system mount point */ 5777 xfs_mount_t *mp; /* file system mount point */
@@ -5789,7 +5788,6 @@ xfs_getbmap(
5789 int bmapi_flags; /* flags for xfs_bmapi */ 5788 int bmapi_flags; /* flags for xfs_bmapi */
5790 __int32_t oflags; /* getbmapx bmv_oflags field */ 5789 __int32_t oflags; /* getbmapx bmv_oflags field */
5791 5790
5792 vp = XFS_ITOV(ip);
5793 mp = ip->i_mount; 5791 mp = ip->i_mount;
5794 5792
5795 whichfork = interface & BMV_IF_ATTRFORK ? XFS_ATTR_FORK : XFS_DATA_FORK; 5793 whichfork = interface & BMV_IF_ATTRFORK ? XFS_ATTR_FORK : XFS_DATA_FORK;