[PATCH] fs/nfs/dns_resolve.c: included linux/nfs_fs.h twice

From: Danny Kukawka
Date: Thu Feb 16 2012 - 08:54:49 EST


fs/nfs/dns_resolve.c: included 'linux/nfs_fs.h' twice. No need
to include it in the 'CONFIG_NFS_USE_NEW_IDMAPPER not defined'
block since it's already included at the top of the file.

Signed-off-by: Danny Kukawka <danny.kukawka@xxxxxxxxx>
---
fs/nfs/idmap.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index 2c05f19..1526b5f 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -374,8 +374,6 @@ int nfs_map_gid_to_group(const struct nfs_server *server, __u32 gid, char *buf,
#include <linux/workqueue.h>
#include <linux/sunrpc/rpc_pipe_fs.h>

-#include <linux/nfs_fs.h>
-
#include "nfs4_fs.h"

#define IDMAP_HASH_SZ 128
--
1.7.8.3

--
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/