From: Boaz Harrosh Subject: [PATCH 5/5] nfsd: Remove lots of un-needed includes Date: Wed, 21 Oct 2009 10:16:03 +0200 Message-ID: <1256112963-3885-1-git-send-email-bharrosh@panasas.com> References: <4ADEC1EF.8040107@panasas.com> To: Benny Halevy , "J. Bruce Fields" , pNFS Mailing List , NFS list , Trond Myklebust Received: from dip-colo-pa.panasas.com ([67.152.220.67]:53215 "EHLO daytona.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751163AbZJUIQD (ORCPT ); Wed, 21 Oct 2009 04:16:03 -0400 In-Reply-To: <4ADEC1EF.8040107@panasas.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Once a few headers where fixed lots of includes are not needed any more. (OK probably a few where so even before) Signed-off-by: Boaz Harrosh --- fs/exportfs/nfs4filelayoutxdr.c | 8 -------- fs/nfsd/export.c | 16 ---------------- fs/nfsd/nfs4callback.c | 14 -------------- fs/nfsd/nfs4pnfsd.c | 9 --------- fs/nfsd/nfs4proc.c | 9 --------- fs/nfsd/nfs4state.c | 18 ------------------ fs/nfsd/pnfsd_lexp.c | 5 ----- fs/nfsd/spnfs_com.c | 13 ------------- 8 files changed, 0 insertions(+), 92 deletions(-) diff --git a/fs/exportfs/nfs4filelayoutxdr.c b/fs/exportfs/nfs4filelayoutxdr.c index 9ce2a9d..d07685d 100644 --- a/fs/exportfs/nfs4filelayoutxdr.c +++ b/fs/exportfs/nfs4filelayoutxdr.c @@ -35,15 +35,7 @@ */ #if defined(CONFIG_EXPORTFS_FILE_LAYOUT) -#include -#include -#include -#include -#include -#include -#include #include -#include /* We do our-own dprintk so filesystems are not dependent on sunrpc */ #ifdef dprintk diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index f51c413..616980c 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -14,23 +14,11 @@ * Copyright (C) 1995, 1996 Olaf Kirch, */ -#include -#include -#include -#include -#include #include -#include -#include #include -#include -#include -#include #include -#include #include -#include #include #include "nfsd_priv.h" #if defined(CONFIG_SPNFS) @@ -40,10 +28,6 @@ #endif #endif #include -#include -#include -#include -#include #define NFSDDBG_FACILITY NFSDDBG_EXPORT diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 3347749..caf84a6 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -33,22 +33,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include #define NFSDDBG_FACILITY NFSDDBG_PROC diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c index fdbc447..cfffead 100644 --- a/fs/nfsd/nfs4pnfsd.c +++ b/fs/nfsd/nfs4pnfsd.c @@ -23,16 +23,7 @@ #if defined(CONFIG_PNFSD) -#include -#include -#include -#include #include -#include -#include -#include -#include -#include #include "nfsd_priv.h" #define NFSDDBG_FACILITY NFSDDBG_PROC diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index dd1da22..e22a9e6 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -35,23 +35,14 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include -#include #include -#include #include #include -#include #include #include -#include -#include #if defined(CONFIG_PNFSD) #include -#include -#include #include "nfsd_priv.h" #if defined(CONFIG_SPNFS) #include diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 018292e..b635ed0 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -34,31 +34,13 @@ * */ -#include -#include -#include - -#include -#include -#include #include -#include -#include #include -#include -#include #include #include #include #include -#include -#include -#include #include -#include -#if defined(CONFIG_PNFSD) -#include -#endif /* CONFIG_PNFSD */ #include "nfsd_priv.h" #define NFSDDBG_FACILITY NFSDDBG_PROC diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c index 2bcb6b5..a09e3c1 100644 --- a/fs/nfsd/pnfsd_lexp.c +++ b/fs/nfsd/pnfsd_lexp.c @@ -20,12 +20,7 @@ #if defined(CONFIG_PNFSD_LOCAL_EXPORT) -#include -#include #include -#include -#include -#include #include #include diff --git a/fs/nfsd/spnfs_com.c b/fs/nfsd/spnfs_com.c index 7c7d48d..deab09b 100644 --- a/fs/nfsd/spnfs_com.c +++ b/fs/nfsd/spnfs_com.c @@ -39,23 +39,10 @@ */ #if defined(CONFIG_SPNFS) -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include #include -#include #include -#include - -#include #include #include -- 1.6.2.1