taskfs fix up, minor refactoring
[lunaix-os.git] / lunaix-os / includes / lunaix / fs.h
index 6feb2aa0447769b7f5d68fda278936774036d8a8..6a5a92d4e03752c84b7ed766f0d59ae381c44a50 100644 (file)
@@ -358,6 +358,12 @@ fsm_itend(struct fs_iter* iterator)
     iterator->fs = NULL;
 }
 
+static inline bool
+fsm_check_pseudo_fs(struct filesystem* fs)
+{
+    return !!(fs->types & FSTYPE_PSEUDO);
+}
+
 void
 vfs_init();