From: Bernhard Voelker Date: Wed, 5 Mar 2014 10:55:34 +0000 (+0100) Subject: libmount: define BTRFS_TEST_MAGIC if missing X-Git-Tag: v2.25-rc1~552 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=260412b19f8ca4994bf0a02d4fae1dfbe50d8e2a;p=thirdparty%2Futil-linux.git libmount: define BTRFS_TEST_MAGIC if missing * libmount/src/utils.c (BTRFS_TEST_MAGIC): Conditionally add define which is used since commit v2.24-243-g6a52473. Signed-off-by: Bernhard Voelker --- diff --git a/libmount/src/utils.c b/libmount/src/utils.c index d402b7ef5d..2541a22bec 100644 --- a/libmount/src/utils.c +++ b/libmount/src/utils.c @@ -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) {