diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-09 03:07:12 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 03:07:12 -0400 |
commit | 8285fb58e75bfdb447c7a2c533ec9efdb238f966 (patch) | |
tree | 4bcfa74d3328ff5d71437556d24019be98c1d9fa /fs/xfs/linux-2.6/xfs_lrw.c | |
parent | 67fcaa73adafb19139a7cd8ab133592b6a0a0901 (diff) |
[XFS] Resolve a namespace collision on remaining vtypes for FreeBSD
porters.
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26108a
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.c | 10 |
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 a9b83018f0fb..8696096f8d22 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c | |||
@@ -258,7 +258,7 @@ xfs_read( | |||
258 | 258 | ||
259 | if (DM_EVENT_ENABLED(vp->v_vfsp, ip, DM_EVENT_READ) && | 259 | if (DM_EVENT_ENABLED(vp->v_vfsp, ip, DM_EVENT_READ) && |
260 | !(ioflags & IO_INVIS)) { | 260 | !(ioflags & IO_INVIS)) { |
261 | vrwlock_t locktype = VRWLOCK_READ; | 261 | bhv_vrwlock_t locktype = VRWLOCK_READ; |
262 | int dmflags = FILP_DELAY_FLAG(file) | DM_SEM_FLAG_RD(ioflags); | 262 | int dmflags = FILP_DELAY_FLAG(file) | DM_SEM_FLAG_RD(ioflags); |
263 | 263 | ||
264 | ret = -XFS_SEND_DATA(mp, DM_EVENT_READ, | 264 | ret = -XFS_SEND_DATA(mp, DM_EVENT_READ, |
@@ -313,7 +313,7 @@ xfs_sendfile( | |||
313 | 313 | ||
314 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_READ) && | 314 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_READ) && |
315 | (!(ioflags & IO_INVIS))) { | 315 | (!(ioflags & IO_INVIS))) { |
316 | vrwlock_t locktype = VRWLOCK_READ; | 316 | bhv_vrwlock_t locktype = VRWLOCK_READ; |
317 | int error; | 317 | int error; |
318 | 318 | ||
319 | error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp), | 319 | error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp), |
@@ -357,7 +357,7 @@ xfs_splice_read( | |||
357 | 357 | ||
358 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_READ) && | 358 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_READ) && |
359 | (!(ioflags & IO_INVIS))) { | 359 | (!(ioflags & IO_INVIS))) { |
360 | vrwlock_t locktype = VRWLOCK_READ; | 360 | bhv_vrwlock_t locktype = VRWLOCK_READ; |
361 | int error; | 361 | int error; |
362 | 362 | ||
363 | error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp), | 363 | error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp), |
@@ -401,7 +401,7 @@ xfs_splice_write( | |||
401 | 401 | ||
402 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_WRITE) && | 402 | if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_WRITE) && |
403 | (!(ioflags & IO_INVIS))) { | 403 | (!(ioflags & IO_INVIS))) { |
404 | vrwlock_t locktype = VRWLOCK_WRITE; | 404 | bhv_vrwlock_t locktype = VRWLOCK_WRITE; |
405 | int error; | 405 | int error; |
406 | 406 | ||
407 | error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, BHV_TO_VNODE(bdp), | 407 | error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, BHV_TO_VNODE(bdp), |
@@ -630,7 +630,7 @@ xfs_write( | |||
630 | unsigned long seg; | 630 | unsigned long seg; |
631 | int iolock; | 631 | int iolock; |
632 | int eventsent = 0; | 632 | int eventsent = 0; |
633 | vrwlock_t locktype; | 633 | bhv_vrwlock_t locktype; |
634 | size_t ocount = 0, count; | 634 | size_t ocount = 0, count; |
635 | loff_t pos; | 635 | loff_t pos; |
636 | int need_i_mutex = 1, need_flush = 0; | 636 | int need_i_mutex = 1, need_flush = 0; |