btrfs/220: nologreplay support older kernel
authorAnand Jain <anand.jain@oracle.com>
Fri, 13 Aug 2021 01:59:34 +0000 (09:59 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:51:28 +0000 (23:51 +0800)
commit52e6b70d4681d73a62785587eceda78f475f60b0
treeb4c02e9942e86b4e692265b0b034a76bdd967ffd
parent1f940e6e67f5aad462001c4e1d6efef50cf0ff0a
btrfs/220: nologreplay support older kernel

mount option -o rescue=nologreplay isn't supported on the older
kernel, make this test case older kernel compatible by checking if
the mount option is supported.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/220