From: Paul Gortmaker Date: Thu, 14 Feb 2013 20:50:15 +0000 (-0700) Subject: btrfs: fixup/remove module.h usage as required X-Git-Tag: v3.9-rc1~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=180e001cd5fc2950dc6a7997dde5b65c954d0e79;p=thirdparty%2Fkernel%2Flinux.git btrfs: fixup/remove module.h usage as required We want to avoid module.h where posible, since it in turn includes nearly all of header space. This means removing it where it is not required, and using export.h where we are only exporting symbols via EXPORT_SYMBOL and friends. Signed-off-by: Paul Gortmaker Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 0306665cb1d70..f173c5af64610 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index fdb7a8db3b574..2834ca5768ea8 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include "ctree.h" diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index daac9ae6d7319..5b326cd60a4aa 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include "ctree.h" diff --git a/fs/btrfs/ulist.c b/fs/btrfs/ulist.c index 99be4c138db6d..ddc61cad00800 100644 --- a/fs/btrfs/ulist.c +++ b/fs/btrfs/ulist.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include "ulist.h" /*