]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: define BTRFS_TEST_MAGIC if missing
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 5 Mar 2014 10:55:34 +0000 (11:55 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Mar 2014 11:14:54 +0000 (12:14 +0100)
* libmount/src/utils.c (BTRFS_TEST_MAGIC): Conditionally add define
which is used since commit v2.24-243-g6a52473.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
libmount/src/utils.c

index d402b7ef5dc1b91c1be919626104e84fba6cff98..2541a22bec76962d087cab8286117904429afcd0 100644 (file)
@@ -333,6 +333,9 @@ int mnt_fstype_is_netfs(const char *type)
 #ifndef CONFIGFS_SUPER_MAGIC
 # define CONFIGFS_SUPER_MAGIC  0x62656570
 #endif
+#ifndef BTRFS_TEST_MAGIC
+# define BTRFS_TEST_MAGIC      0x73727279
+#endif
 
 const char *mnt_statfs_get_fstype(struct statfs *vfs)
 {