xfs: rename xfs_buf_get_nodaddr to be more appropriate
authorDave Chinner <dchinner@redhat.com>
Fri, 24 Sep 2010 10:07:47 +0000 (20:07 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 18 Oct 2010 20:07:46 +0000 (15:07 -0500)
commit686865f76e35b28ba7aa6afa19209426f0da6201
tree49f0ea4c6cb6ec4c71d1bce041ab21bbcd4920c8
parentdcd79a1423f64ee0184629874805c3ac40f3a2c5
xfs: rename xfs_buf_get_nodaddr to be more appropriate

xfs_buf_get_nodaddr() is really used to allocate a buffer that is
uncached. While it is not directly assigned a disk address, the fact
that they are not cached is a more important distinction. With the
upcoming uncached buffer read primitive, we should be consistent
with this disctinction.

While there, make page allocation in xfs_buf_get_nodaddr() safe
against memory reclaim re-entrancy into the filesystem by allowing
a flags parameter to be passed.

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