xfs: unlock the inode before log force in xfs_change_file_space
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:47:51 +0000 (20:47 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:08 +0000 (21:15 -0500)
commit23bb0be1a237c8732ce1a43140e5cb103a676b92
treedeb4405e0612bf50472040587bbbef398a49888c
parent8292d88c5c833fc8b837c3a018fd6d72c35a3231
xfs: unlock the inode before log force in xfs_change_file_space

Let the transaction commit unlock the inode before it potentially causes
a synchronous log force.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_vnodeops.c