[XFS] Fixed delayed_blks assert failure during umount. The delayed_blks
authorYingping Lu <yingping@sgi.com>
Wed, 11 Jan 2006 04:38:31 +0000 (15:38 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 04:38:31 +0000 (15:38 +1100)
commit68bdb6eabcd2869caa795019961a5445a11b5bc1
tree5731c3af7454bca3c3d20604085d16545c98f046
parenta6867a6815fa0241848d4620f2dbd2954f4405d7
[XFS] Fixed delayed_blks assert failure during umount. The delayed_blks
was caused by ENOSPC but not Rreclaimed by xfs_release or xfs_inactive.
The fix changed the condition in xfs_release and xfs_inactive to invoke
xfs_inactive_free_eofblocks for this special case, changed
xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also
changed xfs_write to set correct eof when ENOSPC occurs.

SGI-PV: 946267
SGI-Modid: xfs-linux-melb:xfs-kern:203788a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/xfs_vnodeops.c