From 2a505d6c583bf68b47ba6d8e8ccbb42f76060e72 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 14 Aug 2013 16:16:43 -0700 Subject: [PATCH] btrfs-progs: don't use sparse can freak out when is included because it redefines approximately a gazillion symbols already found in : /usr/include/linux/fs.h:203:9: warning: preprocessor token MS_RDONLY redefined /usr/include/sys/mount.h:37:9: this was the original definition Happily, we don't actually need to include the low-level for anything. One assumes it was just carried over from kernel space. Signed-off-by: Zach Brown Signed-off-by: David Sterba Signed-off-by: Chris Mason --- btrfs-convert.c | 1 - mkfs.c | 1 - 2 files changed, 2 deletions(-) diff --git a/btrfs-convert.c b/btrfs-convert.c index 828f361..a1fb645 100644 --- a/btrfs-convert.c +++ b/btrfs-convert.c @@ -31,7 +31,6 @@ #include #include #include -#include #include "ctree.h" #include "disk-io.h" diff --git a/mkfs.c b/mkfs.c index 6f9a160..5f8d8b5 100644 --- a/mkfs.c +++ b/mkfs.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include -- 2.7.4