diff options
author | Karel Zak | 2016-01-26 14:39:13 +0100 |
---|---|---|
committer | Karel Zak | 2016-01-26 14:39:13 +0100 |
commit | 5a9713293d5f0e20230646fc403ec4a5bf8c1a1f (patch) | |
tree | 3b3c7318dcbe66734c05d683fcaf070abdd7ca52 /libmount/src/version.c | |
parent | more: remove unnecessary compatibility layer (diff) | |
download | kernel-qcow2-util-linux-5a9713293d5f0e20230646fc403ec4a5bf8c1a1f.tar.gz kernel-qcow2-util-linux-5a9713293d5f0e20230646fc403ec4a5bf8c1a1f.tar.xz kernel-qcow2-util-linux-5a9713293d5f0e20230646fc403ec4a5bf8c1a1f.zip |
libmount: consolidate btrfs stuff, make it more portable
- add --with-btrfs (enabled by default)
- check for linux/btrfs.h
- add "btrfs" to libmount features list (see mount -V)
- #ifdef HAVE_BTRFS_SUPPORT for all btrfs stuff in libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/version.c')
-rw-r--r-- | libmount/src/version.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/version.c b/libmount/src/version.c index d81d4323f..d0f61c928 100644 --- a/libmount/src/version.c +++ b/libmount/src/version.c @@ -25,6 +25,9 @@ static const char *lib_features[] = { #ifdef HAVE_SMACK "smack", #endif +#ifdef HAVE_BTRFS_SUPPORT + "btrfs", +#endif #if !defined(NDEBUG) "assert", /* libc assert.h stuff */ #endif |