]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcf11da0b41ab717417b5c15499ac567faded4a5
treed6fe2410b628b27b159f3db9113b9186c1871bfd
parent08281aeb5788311b908148df361d3c4578c15876
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