aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_lrw.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-09 03:00:52 -0400
committerNathan Scott <nathans@sgi.com>2006-06-09 03:00:52 -0400
commit67fcaa73adafb19139a7cd8ab133592b6a0a0901 (patch)
tree6e7b83e7c8b0a1d8b4776af1537d6f07ebe9435d /fs/xfs/linux-2.6/xfs_lrw.c
parentb83bd1388133e914c38bd31d69bc90143e6ab10c (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/linux-2.6/xfs_lrw.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_lrw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c
index 6fbdca3eaa7a..a9b83018f0fb 100644
--- a/fs/xfs/linux-2.6/xfs_lrw.c
+++ b/fs/xfs/linux-2.6/xfs_lrw.c
@@ -206,7 +206,7 @@ xfs_read(
206 xfs_fsize_t n; 206 xfs_fsize_t n;
207 xfs_inode_t *ip; 207 xfs_inode_t *ip;
208 xfs_mount_t *mp; 208 xfs_mount_t *mp;
209 vnode_t *vp; 209 bhv_vnode_t *vp;
210 unsigned long seg; 210 unsigned long seg;
211 211
212 ip = XFS_BHVTOI(bdp); 212 ip = XFS_BHVTOI(bdp);
@@ -271,7 +271,7 @@ xfs_read(
271 } 271 }
272 272
273 if (unlikely((ioflags & IO_ISDIRECT) && VN_CACHED(vp))) 273 if (unlikely((ioflags & IO_ISDIRECT) && VN_CACHED(vp)))
274 VOP_FLUSHINVAL_PAGES(vp, ctooff(offtoct(*offset)), 274 bhv_vop_flushinval_pages(vp, ctooff(offtoct(*offset)),
275 -1, FI_REMAPF_LOCKED); 275 -1, FI_REMAPF_LOCKED);
276 276
277 xfs_rw_enter_trace(XFS_READ_ENTER, &ip->i_iocore, 277 xfs_rw_enter_trace(XFS_READ_ENTER, &ip->i_iocore,
@@ -499,7 +499,7 @@ xfs_zero_last_block(
499 499
500int /* error (positive) */ 500int /* error (positive) */
501xfs_zero_eof( 501xfs_zero_eof(
502 vnode_t *vp, 502 bhv_vnode_t *vp,
503 xfs_iocore_t *io, 503 xfs_iocore_t *io,
504 xfs_off_t offset, /* starting I/O offset */ 504 xfs_off_t offset, /* starting I/O offset */
505 xfs_fsize_t isize, /* current inode size */ 505 xfs_fsize_t isize, /* current inode size */
@@ -626,7 +626,7 @@ xfs_write(
626 ssize_t ret = 0, error = 0; 626 ssize_t ret = 0, error = 0;
627 xfs_fsize_t isize, new_size; 627 xfs_fsize_t isize, new_size;
628 xfs_iocore_t *io; 628 xfs_iocore_t *io;
629 vnode_t *vp; 629 bhv_vnode_t *vp;
630 unsigned long seg; 630 unsigned long seg;
631 int iolock; 631 int iolock;
632 int eventsent = 0; 632 int eventsent = 0;
@@ -803,7 +803,7 @@ retry:
803 if (need_flush) { 803 if (need_flush) {
804 xfs_inval_cached_trace(io, pos, -1, 804 xfs_inval_cached_trace(io, pos, -1,
805 ctooff(offtoct(pos)), -1); 805 ctooff(offtoct(pos)), -1);
806 VOP_FLUSHINVAL_PAGES(vp, ctooff(offtoct(pos)), 806 bhv_vop_flushinval_pages(vp, ctooff(offtoct(pos)),
807 -1, FI_REMAPF_LOCKED); 807 -1, FI_REMAPF_LOCKED);
808 } 808 }
809 809