]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: don't try to use the filestream allocator for metadata allocations
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2014 09:37:42 +0000 (19:37 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Apr 2014 09:37:42 +0000 (19:37 +1000)
commit8b90a33f476436ad6a49b7138d8a00ecbc62f9a6
treef56d704c95f14aecc356c2789e2394885a5325ee
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
xfs: don't try to use the filestream allocator for metadata allocations

xfs_bmap_btalloc_nullfb has two entirely different control flows when
using the filestream allocator vs the regular one, but it get the
conditionals wrong and ends up mixing the two for metadata allocations.
Fix this by adding a missing userdata check and slight refactoring.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_bmap.c