]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/220: discard=sync support older kernel
authorAnand Jain <anand.jain@oracle.com>
Fri, 13 Aug 2021 01:59:33 +0000 (09:59 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:51:28 +0000 (23:51 +0800)
commit1f940e6e67f5aad462001c4e1d6efef50cf0ff0a
treedaf5511a9c0cb44efe73693f4d8d1f43ea37087d
parent705b0e60bcb7f9f27ed851fa2fb00abf06575022
btrfs/220: discard=sync support older kernel

mount option -o discard=sync 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