]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: remove ASSERT on ftype read from disk
authorEric Sandeen <sandeen@sandeen.net>
Tue, 7 Apr 2015 00:04:08 +0000 (10:04 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 7 Apr 2015 00:04:08 +0000 (10:04 +1000)
commit0402beabb94d4f25ee29f28f2b76898505a02eb6
treebf0d57a3a305d05ed8b0ba75a860df00dbc998ac
parent38c66abcbc80dbc89470c071eba0c0e87516aa8d
libxfs: remove ASSERT on ftype read from disk

This one is already fixed in the kernel, with
fb04013 xfs: don't ASSERT on corrupt ftype
but that kernel<->userspace merge is still pending.

In the meantime, just fix it as a one-off here, because ASSERTing
on bad on-disk values when running xfs_repair is a very unfriendly
thing to do.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/xfs_da_format.h