xfs: remove the unlock argument to xfs_buf_delwri_queue
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 08:28:04 +0000 (08:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:14:59 +0000 (21:14 -0500)
commit527cfdf19dd538a5a9e46b9bed0f30a38c28438d
treed6fe2410b628b27b159f3db9113b9186c1871bfd
parent375ec69d2ef6e0797f19f5823e36e249765c3d41
xfs: remove the unlock argument to xfs_buf_delwri_queue

We can just unlock the buffer in the caller, and the decrement of b_hold
would also be needed in the !unlock, we just never hit that case currently
given that the caller handles that case.

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_buf.c