diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:46:57 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:39:42 -0400 |
commit | 2aeaa258c0527026228c43148ec6dffdc56bea1c (patch) | |
tree | 1febdf1533ec42a61e90d7a0dedc82c7aa0367af /fs/xfs/xfs_iget.c | |
parent | 1543d79c45a374f934f95ca34d87e2eeeb2039b4 (diff) |
[XFS] kill the v_number member in struct bhv_vnode
It's entirely unused except for ignored arguments in the mrlock
initialization, so remove it.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29499a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index 001cec705e28..03f32c68731f 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c | |||
@@ -421,8 +421,8 @@ xfs_inode_lock_init( | |||
421 | bhv_vnode_t *vp) | 421 | bhv_vnode_t *vp) |
422 | { | 422 | { |
423 | mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, | 423 | mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, |
424 | "xfsino", (long)vp->v_number); | 424 | "xfsino", ip->i_ino); |
425 | mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", vp->v_number); | 425 | mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", ip->i_ino); |
426 | init_waitqueue_head(&ip->i_ipin_wait); | 426 | init_waitqueue_head(&ip->i_ipin_wait); |
427 | atomic_set(&ip->i_pincount, 0); | 427 | atomic_set(&ip->i_pincount, 0); |
428 | initnsema(&ip->i_flock, 1, "xfsfino"); | 428 | initnsema(&ip->i_flock, 1, "xfsfino"); |