]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/220: clear_cache fix for older kernel
authorAnand Jain <anand.jain@oracle.com>
Fri, 13 Aug 2021 01:59:35 +0000 (09:59 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:51:28 +0000 (23:51 +0800)
commit389302e73e11186750fb627d4639302222b5c7aa
treec469102ff7296fa72bf64097fe223c042a387f10
parent52e6b70d4681d73a62785587eceda78f475f60b0
btrfs/220: clear_cache fix for older kernel

mount option -o clear_cache shown in /proc/self/mounts isn't
supported in the newer kernel, make this test case older kernel
compatible by checking if clear_cache is shown in the
/proc/self/mounts.

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