]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test xfsdump with bind-mounted filesystem
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Wed, 16 Feb 2022 14:55:20 +0000 (09:55 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 Apr 2022 10:40:50 +0000 (18:40 +0800)
commit4837b6aff4d3e466d3dfc3120fe4568ecf717180
treec1a84c94058b323df97e5712092930fff564bf1d
parent034e1a796f4b7bebd845ba66bf362d75ca02ef59
xfs: test xfsdump with bind-mounted filesystem

commit 25195eb ("xfsdump: handle bind mount target") introduced
a bug of xfsdump which doesn't store the files to the dump file
correctly when the root inode number is changed.

The commit 25195eb is reverted, and commit 0717c1c ("xfsdump: intercept
bind mount targets") which is in xfsdump v3.1.10 fixes the bug to reject
the filesystem if it's bind-mounted.

Test that xfsdump can reject the bind-mounted filesystem.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/544 [new file with mode: 0755]
tests/xfs/544.out [new file with mode: 0644]