NFS: Remove unnecessary includes from linux/nfs_fs_i.h
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Jan 2012 03:04:24 +0000 (22:04 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 31 Jan 2012 23:20:28 +0000 (18:20 -0500)
Also from linux/nfs_xdr.h.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pagelist.c
include/linux/nfs_fs_i.h
include/linux/nfs_xdr.h

index 5668f7c54c41e2d35ff1afd2c24a2bf786406c71..77a184e2fe47a627fd5d085ba66dcc1cc36ae43d 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/file.h>
 #include <linux/sched.h>
 #include <linux/sunrpc/clnt.h>
+#include <linux/nfs.h>
 #include <linux/nfs3.h>
 #include <linux/nfs4.h>
 #include <linux/nfs_page.h>
index 861730275ba0545feb6857c42f9d161d7f38d47c..a5c50d97341edfac63d04a0f7bad96a5f1bfd0f9 100644 (file)
@@ -1,10 +1,6 @@
 #ifndef _NFS_FS_I
 #define _NFS_FS_I
 
-#include <asm/types.h>
-#include <linux/list.h>
-#include <linux/nfs.h>
-
 struct nlm_lockowner;
 
 /*
index a764cef06b733f34f89ed4a618bfb41e33428258..f5188e10ea0e469fffd6aca86e95ebf5632d49ec 100644 (file)
@@ -2,7 +2,6 @@
 #define _LINUX_NFS_XDR_H
 
 #include <linux/nfsacl.h>
-#include <linux/nfs3.h>
 #include <linux/sunrpc/gss_api.h>
 
 /*