]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: unify xfs_btree.c with kernel code
authorDave Chinner <dchinner@redhat.com>
Wed, 13 Nov 2013 06:40:30 +0000 (06:40 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 13 Nov 2013 17:03:09 +0000 (11:03 -0600)
commit10851b189f50f357eab3ce787533e505babd00d2
treed1ca6d0363859d0a557cf227c84dfad7da1a3288
parent34b8c759723757e5b4a4c9da6c3a790eb405000f
libxfs: unify xfs_btree.c with kernel code

The libxfs/xfs_btree.c code does not contain a small amount of code
for btree block readahead that the kernel code does. Instead, it
short circuits it at a higher layer and doesn't include the lower
layer functions. There is no harm in calling the lower lay functions
and have them do nothing, and doing so unifies the kernel and
userspace code.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
libxfs/xfs.h
libxfs/xfs_btree.c