Quellcode durchsuchen

NFS: Remove unnecessary includes from linux/nfs_fs_i.h

Also from linux/nfs_xdr.h.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust vor 13 Jahren
Ursprung
Commit
1313e6034a
3 geänderte Dateien mit 1 neuen und 5 gelöschten Zeilen
  1. 1 0
      fs/nfs/pagelist.c
  2. 0 4
      include/linux/nfs_fs_i.h
  3. 0 1
      include/linux/nfs_xdr.h

+ 1 - 0
fs/nfs/pagelist.c

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

+ 0 - 4
include/linux/nfs_fs_i.h

@@ -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;
 
 /*

+ 0 - 1
include/linux/nfs_xdr.h

@@ -2,7 +2,6 @@
 #define _LINUX_NFS_XDR_H
 
 #include <linux/nfsacl.h>
-#include <linux/nfs3.h>
 #include <linux/sunrpc/gss_api.h>
 
 /*