common: Fix recovery tests for tmpfs
authorJan Kara <jack@suse.cz>
Mon, 26 Apr 2021 20:50:11 +0000 (22:50 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 9 May 2021 13:50:22 +0000 (21:50 +0800)
Tmpfs doesn't support metadata journalling. Recognize it as such.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc

index 2cf550e..a7fc066 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -3475,7 +3475,7 @@ _has_metadata_journaling()
        fi
 
        case "$FSTYP" in
        fi
 
        case "$FSTYP" in
-       ext2|vfat|msdos|udf|exfat)
+       ext2|vfat|msdos|udf|exfat|tmpfs)
                echo "$FSTYP does not support metadata journaling"
                return 1
                ;;
                echo "$FSTYP does not support metadata journaling"
                return 1
                ;;