* [PATCH] btrfs: fixup module.h usage as required
@ 2012-02-27 1:16 Paul Gortmaker
2012-03-15 15:01 ` Andrea Gelmini
0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2012-02-27 1:16 UTC (permalink / raw)
To: chris.mason; +Cc: linux-btrfs, linux-kernel, Paul Gortmaker
Delete the instances of module.h that aren't actually used
or needed. Replace with export.h as required.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[This is 100% independent of any cleanups I'm working on, so it
can go in via the btrfs tree seamlessly.]
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index a55fbe6..9452204 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -4,7 +4,6 @@
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/page-flags.h>
-#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/blkdev.h>
#include <linux/swap.h>
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index 7c97b33..711c877 100644
--- a/fs/btrfs/extent_map.c
+++ b/fs/btrfs/extent_map.c
@@ -1,6 +1,5 @@
#include <linux/err.h>
#include <linux/slab.h>
-#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/hardirq.h>
#include "ctree.h"
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index daac9ae..5b326cd 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -21,7 +21,6 @@
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/buffer_head.h>
-#include <linux/module.h>
#include <linux/kobject.h>
#include "ctree.h"
diff --git a/fs/btrfs/ulist.c b/fs/btrfs/ulist.c
index 12f5147..273dea8 100644
--- a/fs/btrfs/ulist.c
+++ b/fs/btrfs/ulist.c
@@ -5,7 +5,7 @@
*/
#include <linux/slab.h>
-#include <linux/module.h>
+#include <linux/export.h>
#include "ulist.h"
/*
--
1.7.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: fixup module.h usage as required
@ 2012-05-25 23:28 Paul Gortmaker
0 siblings, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2012-05-25 23:28 UTC (permalink / raw)
To: chris.mason; +Cc: linux-btrfs, linux-kernel
Hi Chris,
This fairly trivial patch missed the 3.4 merge window:
http://lkml.indiana.edu/hypermail/linux/kernel/1202.3/00764.html
Do you have it queued for the 3.5 merge window now in play, or
would you rather I push the changeset myself directly?
Thanks,
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-25 23:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 1:16 [PATCH] btrfs: fixup module.h usage as required Paul Gortmaker
2012-03-15 15:01 ` Andrea Gelmini
-- strict thread matches above, loose matches on Subject: below --
2012-05-25 23:28 Paul Gortmaker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).