Commit 20a06da5 authored by Nathan Scott's avatar Nathan Scott Committed by Stephen Lord

[XFS] Fix a harmless typo - we were using a pagebuf flag not a

bmap flag here; fortunately they have the same value (2).

SGI Modid: 2.5.x-xfs:slinx:156143a
parent d633d709
...@@ -156,7 +156,7 @@ xfs_iomap( ...@@ -156,7 +156,7 @@ xfs_iomap(
if (flags & BMAP_IGNSTATE) if (flags & BMAP_IGNSTATE)
bmap_flags |= XFS_BMAPI_IGSTATE; bmap_flags |= XFS_BMAPI_IGSTATE;
break; break;
case PBF_WRITE: case BMAP_WRITE:
lockmode = XFS_ILOCK_EXCL|XFS_EXTSIZE_WR; lockmode = XFS_ILOCK_EXCL|XFS_EXTSIZE_WR;
bmap_flags = 0; bmap_flags = 0;
XFS_ILOCK(mp, io, lockmode); XFS_ILOCK(mp, io, lockmode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment