Re: [PATCH 5/5 linux-next] udf: remove redundant buffer_head.h includes

From: Jan Kara
Date: Sat Mar 14 2015 - 02:54:40 EST


On Tue 10-03-15 21:44:35, Fabian Frederick wrote:
> buffer_head.h was already included in udfdecl.h
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
OK, applied to my tree. Thanks.

Honza

> ---
> fs/udf/balloc.c | 1 -
> fs/udf/dir.c | 1 -
> fs/udf/directory.c | 1 -
> fs/udf/file.c | 1 -
> fs/udf/inode.c | 1 -
> fs/udf/misc.c | 1 -
> fs/udf/namei.c | 1 -
> fs/udf/partition.c | 1 -
> fs/udf/super.c | 1 -
> fs/udf/symlink.c | 1 -
> fs/udf/truncate.c | 1 -
> 11 files changed, 11 deletions(-)
>
> diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c
> index 1cd8916..59ac281 100644
> --- a/fs/udf/balloc.c
> +++ b/fs/udf/balloc.c
> @@ -21,7 +21,6 @@
>
> #include "udfdecl.h"
>
> -#include <linux/buffer_head.h>
> #include <linux/bitops.h>
>
> #include "udf_i.h"
> diff --git a/fs/udf/dir.c b/fs/udf/dir.c
> index edf4232..8af629d 100644
> --- a/fs/udf/dir.c
> +++ b/fs/udf/dir.c
> @@ -30,7 +30,6 @@
> #include <linux/errno.h>
> #include <linux/mm.h>
> #include <linux/slab.h>
> -#include <linux/buffer_head.h>
>
> #include "udf_i.h"
> #include "udf_sb.h"
> diff --git a/fs/udf/directory.c b/fs/udf/directory.c
> index 3e44f57..c763fda 100644
> --- a/fs/udf/directory.c
> +++ b/fs/udf/directory.c
> @@ -16,7 +16,6 @@
>
> #include <linux/fs.h>
> #include <linux/string.h>
> -#include <linux/buffer_head.h>
>
> struct fileIdentDesc *udf_fileident_read(struct inode *dir, loff_t *nf_pos,
> struct udf_fileident_bh *fibh,
> diff --git a/fs/udf/file.c b/fs/udf/file.c
> index 08f3555..dda8ea7 100644
> --- a/fs/udf/file.c
> +++ b/fs/udf/file.c
> @@ -33,7 +33,6 @@
> #include <linux/capability.h>
> #include <linux/errno.h>
> #include <linux/pagemap.h>
> -#include <linux/buffer_head.h>
> #include <linux/aio.h>
>
> #include "udf_i.h"
> diff --git a/fs/udf/inode.c b/fs/udf/inode.c
> index a445d59..0001ece 100644
> --- a/fs/udf/inode.c
> +++ b/fs/udf/inode.c
> @@ -33,7 +33,6 @@
> #include <linux/mm.h>
> #include <linux/module.h>
> #include <linux/pagemap.h>
> -#include <linux/buffer_head.h>
> #include <linux/writeback.h>
> #include <linux/slab.h>
> #include <linux/crc-itu-t.h>
> diff --git a/fs/udf/misc.c b/fs/udf/misc.c
> index c175b4d..71d1c25 100644
> --- a/fs/udf/misc.c
> +++ b/fs/udf/misc.c
> @@ -23,7 +23,6 @@
>
> #include <linux/fs.h>
> #include <linux/string.h>
> -#include <linux/buffer_head.h>
> #include <linux/crc-itu-t.h>
>
> #include "udf_i.h"
> diff --git a/fs/udf/namei.c b/fs/udf/namei.c
> index 189b98b..3bb7c02 100644
> --- a/fs/udf/namei.c
> +++ b/fs/udf/namei.c
> @@ -27,7 +27,6 @@
> #include <linux/errno.h>
> #include <linux/mm.h>
> #include <linux/slab.h>
> -#include <linux/buffer_head.h>
> #include <linux/sched.h>
> #include <linux/crc-itu-t.h>
> #include <linux/exportfs.h>
> diff --git a/fs/udf/partition.c b/fs/udf/partition.c
> index d6caf01..5f861ed2 100644
> --- a/fs/udf/partition.c
> +++ b/fs/udf/partition.c
> @@ -24,7 +24,6 @@
>
> #include <linux/fs.h>
> #include <linux/string.h>
> -#include <linux/buffer_head.h>
> #include <linux/mutex.h>
>
> uint32_t udf_get_pblock(struct super_block *sb, uint32_t block,
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index f169411..6299f34 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -48,7 +48,6 @@
> #include <linux/stat.h>
> #include <linux/cdrom.h>
> #include <linux/nls.h>
> -#include <linux/buffer_head.h>
> #include <linux/vfs.h>
> #include <linux/vmalloc.h>
> #include <linux/errno.h>
> diff --git a/fs/udf/symlink.c b/fs/udf/symlink.c
> index d986916a..cef3c69 100644
> --- a/fs/udf/symlink.c
> +++ b/fs/udf/symlink.c
> @@ -27,7 +27,6 @@
> #include <linux/mm.h>
> #include <linux/stat.h>
> #include <linux/pagemap.h>
> -#include <linux/buffer_head.h>
> #include "udf_i.h"
>
> static int udf_pc_to_char(struct super_block *sb, unsigned char *from,
> diff --git a/fs/udf/truncate.c b/fs/udf/truncate.c
> index 8a9657d..42b8c57 100644
> --- a/fs/udf/truncate.c
> +++ b/fs/udf/truncate.c
> @@ -22,7 +22,6 @@
> #include "udfdecl.h"
> #include <linux/fs.h>
> #include <linux/mm.h>
> -#include <linux/buffer_head.h>
>
> #include "udf_i.h"
> #include "udf_sb.h"
> --
> 1.9.1
>
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/