common/dump: filter out xfs_restore messages about fallocate failures
authorDarrick J. Wong <djwong@kernel.org>
Wed, 14 Apr 2021 01:04:54 +0000 (18:04 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Apr 2021 12:53:53 +0000 (20:53 +0800)
commitc25b43fbe789d5eea224a5fd21c9626db644034e
tree482861b205f8d79fb187d7b8bb152e21878e43c8
parent4e9ffa1316859b67b575258ed23d49f82302e3fb
common/dump: filter out xfs_restore messages about fallocate failures

fallocate is not supported on XFS filesystems that are running in
"always COW" mode.  This leads to false test regressions because
xfs_restore complains about EOPNOTSUPP in the golden output.  The
preallocation isn't required for correct xfs_restore operation, so
filter out the EOPNOTSUPP messages.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/dump