aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-19 13:13:39 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 09:10:07 -0800
commitae6c19cd6c32f88b2d8549984ff2a5fcdcc932b2 (patch)
tree130f035ba9104d9316c3e7de73cc10e10810d940 /tools
parent7d7e5d33408819c084528dcff139fc4564c7bdda (diff)
downloadkernel_samsung_smdk4412-ae6c19cd6c32f88b2d8549984ff2a5fcdcc932b2.zip
kernel_samsung_smdk4412-ae6c19cd6c32f88b2d8549984ff2a5fcdcc932b2.tar.gz
kernel_samsung_smdk4412-ae6c19cd6c32f88b2d8549984ff2a5fcdcc932b2.tar.bz2
xfs: fix ->write_inode return values
patch 58d84c4ee0389ddeb86238d5d8359a982c9f7a5b upstream. Currently we always redirty an inode that was attempted to be written out synchronously but has been cleaned by an AIL pushed internall, which is rather bogus. Fix that by doing the i_update_core check early on and return 0 for it. Also include async calls for it, as doing any work for those is just as pointless. While we're at it also fix the sign for the EIO return in case of a filesystem shutdown, and fix the completely non-sensical locking around xfs_log_inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions