This patch allows to run generic/791 on f2fs.

Signed-off-by: Chao Yu <[email protected]>
---
 common/rc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/rc b/common/rc
index 5fe44e21..8f09f19a 100644
--- a/common/rc
+++ b/common/rc
@@ -6184,6 +6184,9 @@ _require_fanotify_ioerrors()
                x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
                test -n "$x" && return 0
                ;;
+       f2fs)
+               x="$(cat /sys/fs/f2fs/features/fserror)"
+               test -n "$x" && return 0
        esac
 
        _notrun "$FSTYP does not support fanotify ioerrors"
-- 
2.49.0



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to