chiark / gitweb /
journal: move code that checks for network fs to stat-util.[ch]
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Feb 2018 16:14:37 +0000 (17:14 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:52 +0000 (07:58 +0200)
We have similar code in stat-util.[ch] and managing this at a central
place almost definitely is the better choice.

src/basic/missing.h

index 59f5ebfe0f0b960be3bca1d128614c173fd518ce..0c23f53420ee93708fe05c8226eb8b7fea772739 100644 (file)
@@ -522,6 +522,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