]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: always log corruption errors
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 22 Jan 2020 16:29:37 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:37 +0000 (11:29 -0500)
commita0264b735a2eb7aa9ea744d917b6d66cdfe94bcc
treec9b659aa8addeb797f97227126233df46e8ccba4
parentd11b23b618a137a817a962eaa59e3b8978da6ef0
xfs: always log corruption errors

Source kernel commit: a5155b870d687de1a5f07e774b49b1e8ef0f6f50

Make sure we log something to dmesg whenever we return -EFSCORRUPTED up
the call stack.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
13 files changed:
libxfs/libxfs_priv.h
libxfs/util.c
libxfs/xfs_alloc.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_btree.c
libxfs/xfs_da_btree.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_inode_fork.c
libxfs/xfs_refcount.c
libxfs/xfs_rtbitmap.c