diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-09 03:00:52 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 03:00:52 -0400 |
commit | 67fcaa73adafb19139a7cd8ab133592b6a0a0901 (patch) | |
tree | 6e7b83e7c8b0a1d8b4776af1537d6f07ebe9435d /fs/xfs/xfs_iget.c | |
parent | b83bd1388133e914c38bd31d69bc90143e6ab10c (diff) |
[XFS] Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26107a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index 41f38eb60ebc..da3c94c230db 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c | |||
@@ -186,7 +186,7 @@ xfs_ihash_promote( | |||
186 | */ | 186 | */ |
187 | STATIC int | 187 | STATIC int |
188 | xfs_iget_core( | 188 | xfs_iget_core( |
189 | vnode_t *vp, | 189 | bhv_vnode_t *vp, |
190 | xfs_mount_t *mp, | 190 | xfs_mount_t *mp, |
191 | xfs_trans_t *tp, | 191 | xfs_trans_t *tp, |
192 | xfs_ino_t ino, | 192 | xfs_ino_t ino, |
@@ -198,7 +198,7 @@ xfs_iget_core( | |||
198 | xfs_ihash_t *ih; | 198 | xfs_ihash_t *ih; |
199 | xfs_inode_t *ip; | 199 | xfs_inode_t *ip; |
200 | xfs_inode_t *iq; | 200 | xfs_inode_t *iq; |
201 | vnode_t *inode_vp; | 201 | bhv_vnode_t *inode_vp; |
202 | ulong version; | 202 | ulong version; |
203 | int error; | 203 | int error; |
204 | /* REFERENCED */ | 204 | /* REFERENCED */ |
@@ -489,7 +489,7 @@ xfs_iget( | |||
489 | xfs_daddr_t bno) | 489 | xfs_daddr_t bno) |
490 | { | 490 | { |
491 | struct inode *inode; | 491 | struct inode *inode; |
492 | vnode_t *vp = NULL; | 492 | bhv_vnode_t *vp = NULL; |
493 | int error; | 493 | int error; |
494 | 494 | ||
495 | XFS_STATS_INC(xs_ig_attempts); | 495 | XFS_STATS_INC(xs_ig_attempts); |
@@ -543,7 +543,7 @@ retry: | |||
543 | void | 543 | void |
544 | xfs_inode_lock_init( | 544 | xfs_inode_lock_init( |
545 | xfs_inode_t *ip, | 545 | xfs_inode_t *ip, |
546 | vnode_t *vp) | 546 | bhv_vnode_t *vp) |
547 | { | 547 | { |
548 | mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, | 548 | mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, |
549 | "xfsino", (long)vp->v_number); | 549 | "xfsino", (long)vp->v_number); |
@@ -603,12 +603,10 @@ void | |||
603 | xfs_iput(xfs_inode_t *ip, | 603 | xfs_iput(xfs_inode_t *ip, |
604 | uint lock_flags) | 604 | uint lock_flags) |
605 | { | 605 | { |
606 | vnode_t *vp = XFS_ITOV(ip); | 606 | bhv_vnode_t *vp = XFS_ITOV(ip); |
607 | 607 | ||
608 | vn_trace_entry(vp, "xfs_iput", (inst_t *)__return_address); | 608 | vn_trace_entry(vp, "xfs_iput", (inst_t *)__return_address); |
609 | |||
610 | xfs_iunlock(ip, lock_flags); | 609 | xfs_iunlock(ip, lock_flags); |
611 | |||
612 | VN_RELE(vp); | 610 | VN_RELE(vp); |
613 | } | 611 | } |
614 | 612 | ||
@@ -619,7 +617,7 @@ void | |||
619 | xfs_iput_new(xfs_inode_t *ip, | 617 | xfs_iput_new(xfs_inode_t *ip, |
620 | uint lock_flags) | 618 | uint lock_flags) |
621 | { | 619 | { |
622 | vnode_t *vp = XFS_ITOV(ip); | 620 | bhv_vnode_t *vp = XFS_ITOV(ip); |
623 | struct inode *inode = vn_to_inode(vp); | 621 | struct inode *inode = vn_to_inode(vp); |
624 | 622 | ||
625 | vn_trace_entry(vp, "xfs_iput_new", (inst_t *)__return_address); | 623 | vn_trace_entry(vp, "xfs_iput_new", (inst_t *)__return_address); |
@@ -645,7 +643,7 @@ xfs_iput_new(xfs_inode_t *ip, | |||
645 | void | 643 | void |
646 | xfs_ireclaim(xfs_inode_t *ip) | 644 | xfs_ireclaim(xfs_inode_t *ip) |
647 | { | 645 | { |
648 | vnode_t *vp; | 646 | bhv_vnode_t *vp; |
649 | 647 | ||
650 | /* | 648 | /* |
651 | * Remove from old hash list and mount list. | 649 | * Remove from old hash list and mount list. |