xfs: simplify xfs_buf_get / xfs_buf_read interfaces
authorChristoph Hellwig <hch@infradead.org>
Tue, 24 Nov 2009 18:02:23 +0000 (18:02 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 11 Dec 2009 21:11:21 +0000 (15:11 -0600)
commit6ad112bfb5af537e9e3103c807748bb4a99bbd9e
tree783d7ea24d916914914287f696c1a957e495bd59
parentc355c656fede21f6e967816a603905f0ad6a7311
xfs: simplify xfs_buf_get / xfs_buf_read interfaces

Currently the low-level buffer cache interfaces are highly confusing
as we have a _flags variant of each that does actually respect the
flags, and one without _flags which has a flags argument that gets
ignored and overriden with a default set.  Given that very few places
use the default arguments get rid of the duplication and convert all
callers to pass the flags explicitly.  Also remove the now confusing
_flags postfix.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/xfs_attr.c
fs/xfs/xfs_fsops.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_rw.c
fs/xfs/xfs_trans_buf.c
fs/xfs/xfs_vnodeops.c