[XFS] xfssyncd is responsible for flushing inode or device's data by
authorYingping Lu <yingping@sgi.com>
Wed, 11 Jan 2006 10:02:29 +0000 (21:02 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 10:02:29 +0000 (21:02 +1100)
commit71df099dc3f9cd17e8564eb647d7c1fb2ee83e2d
treecd355dc9b7f89511e27eca3da778a8e52200d7b1
parent75e17b3caf29b262000dc7348f1be9a7d5403463
[XFS] xfssyncd is responsible for flushing inode or device's data by
extracting the work from its queue. In addition, this processing also
decrement the inode's i_count. If there are any remaining works in queue
before this process terminates, we have unbalanced increment and decrement
of i_count. Thus it can cause assertion failure of vn_count. The fix
allows xyssyncd to process any remaining work before it is shutdown.

SGI-PV: 945935
SGI-Modid: xfs-linux-melb:xfs-kern:203970a

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