[XFS] Fix a bug in xfs_iomap for extent handling of write cases
authorRussell Cattelan <cattelan@sgi.com>
Fri, 6 May 2005 13:42:22 +0000 (06:42 -0700)
committerChristoph Hellwig <hch@melbourne.sgi.com>
Fri, 6 May 2005 13:42:22 +0000 (06:42 -0700)
commit68d1498c3a7e5223b587ad067111fbed12df52a1
tree92b17700c7d6696f84148bd078d83cc377053547
parent2512809255d018744fe6c2f5e996c83769846c07
[XFS] Fix a bug in xfs_iomap for extent handling of write cases

This may be the cause of several open PV's of incorrect
delay flags being set and then tripping asserts.
Do not return a delay alloc extent when the caller is asking to do a write.

SGI Modid: xfs-linux:xfs-kern:189616a

Signed-off-by: Russell Cattelan <cattelan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@sgi.com>
fs/xfs/xfs_iomap.c