fstests: generic/537: remove the btrfs specific mount option
PATCH 1/1 fstests: generic/537: remove the btrfs specific mount option
Although btrfs deprecated "norecovery" mount option in upstream kernel commit a1912f712188 ("btrfs: remove code for inode_cache and recovery mount options"), later "norecovery" mount option is re-introduced for compatibility by commit 440861b1a03c ("btrfs: re-introduce 'norecovery' mount option").
Instead the btrfs specific mount option "nologreplay" is already deprecated for a long time and is going to be removed soon.
So use the generic "norecovery" for all filesystems.
--- tests/generic/537 | 1 - 1 file changed, 1 deletion(-)
tests/generic/537 +0 -1
@@ -55,7 +55,6 @@ fi echo "fstrim on ro mount with no log replay" norecovery="norecovery" -test $FSTYP = "btrfs" && norecovery=nologreplay _scratch_mount -o ro,$norecovery >> $seqres.full 2>&1 $FSTRIM_PROG -v $SCRATCH_MNT >> $seqres.full 2>&1 && \ echo "fstrim with unrecovered metadata just ate your filesystem"
Signature · 1 line
2.49.0
Quoted 6 lines · Qu Wenruo
Although btrfs deprecated "norecovery" mount option in upstream kernel commit
a1912f712188("btrfs: remove code forinode_cacheand recovery mount options"), later "norecovery" mount option is re-introduced for compatibility by commit440861b1a03c("btrfs: re-introduce 'norecovery' mount option").
Quoted 6 lines
Instead the btrfs specific mount option "nologreplay" is already deprecated for a long time and is going to be removed soon.
So use the generic "norecovery" for all filesystems.
Signed-off-by Qu Wenruo <[email protected]>
looks good.