journal: move code that checks for network fs to stat-util.[ch]

We have similar code in stat-util.[ch] and managing this at a central
place almost definitely is the better choice.
This commit is contained in:
Lennart Poettering
2018-02-12 11:07:55 +01:00
parent b8e2400586
commit 77f9fa3b8e
4 changed files with 36 additions and 15 deletions
+4
View File
@@ -517,6 +517,10 @@ struct btrfs_ioctl_quota_ctl_args {
#define BPF_FS_MAGIC 0xcafe4a11
#endif
#ifndef OCFS2_SUPER_MAGIC
#define OCFS2_SUPER_MAGIC 0x7461636f
#endif
#ifndef MS_MOVE
#define MS_MOVE 8192
#endif