cleanup __writeback_single_inode
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2009 11:35:40 +0000 (13:35 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 12:15:26 +0000 (08:15 -0400)
commit01c031945f2755c7afaaf456088543312f2b72ea
tree90fd969d41a79fa007e94235b8215f3a960ada1f
parentf21f62208a6f60e2e05440b2e438d9541822dc4d
cleanup __writeback_single_inode

There is no reason to for the split between __writeback_single_inode and
__sync_single_inode, the former just does a couple of checks before
tail-calling the latter.  So merge the two, and while we're at it split
out the I_SYNC waiting case for data integrity writers, as it's
logically separate function.  Finally rename __writeback_single_inode to
writeback_single_inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs-writeback.c