Skip to content

Commit

Permalink
Btrfs: trivial include fixups
Browse files Browse the repository at this point in the history
Almost none of the files including module.h need to do so,
remove them.

Include sched.h in extent-tree.c to silence a warning about cond_resched()
being undeclared.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Zach Brown authored and David Woodhouse committed Jul 11, 2007
1 parent f2fdf02 commit ec6b910
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion fs/btrfs/bit-radix.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "bit-radix.h"

#define BIT_ARRAY_BYTES 256
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/dir-item.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "hash.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include <linux/fs.h>
#include <linux/blkdev.h>
#include <linux/crc32c.h>
Expand Down
2 changes: 1 addition & 1 deletion fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include <linux/sched.h>
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/file-item.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include <linux/buffer_head.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/inode-item.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/inode-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include <linux/buffer_head.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/print-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/root-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "transaction.h"
#include "disk-io.h"
Expand Down
1 change: 0 additions & 1 deletion fs/btrfs/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
1 change: 0 additions & 1 deletion fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Boston, MA 021110-1307, USA.
*/

#include <linux/module.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include "ctree.h"
Expand Down

0 comments on commit ec6b910

Please sign in to comment.