xfs: return the buffer locked from xfs_buf_get_uncached
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:36:25 +0000 (14:36 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:36:25 +0000 (14:36 +0200)
commitc8da0faf6b07623c473cab42967f943ad4ab7560
tree6bfd211ba798c482f592c81bfbe4760758c829e8
parent0c842ad46a51891ac4420b7285613f4134a65ccd
xfs: return the buffer locked from xfs_buf_get_uncached

All other xfs_buf_get/read-like helpers return the buffer locked, make sure
xfs_buf_get_uncached isn't different for no reason.  Half of the callers
already lock it directly after, and the others probably should also keep
it locked if only for consistency and beeing able to use xfs_buf_rele,
but I'll leave that for later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/xfs_log.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_vnodeops.c
This page took 0.025431 seconds and 5 git commands to generate.