All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
To: "J. Bruce Fields"
	<bfields-vtMw8L3fJ9vSiEDVxGk4TQ@public.gmane.org>,
	Benny Halevy <bhalevy-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>,
	NFS list <linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	pNFS Mailing List <pnfs-6DNke4IJHB0gsBAKwltoeQ@public.gmane.org>,
	Trond Myklebust <Trond.M
Cc: linux-fsdevel
	<linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Al Viro <viro-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org>,
	Randy Dunlap
	<randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 6/6] compat.c: Remove dependence on nfsd private headers
Date: Mon, 23 Nov 2009 18:00:07 +0200	[thread overview]
Message-ID: <1258992007-25473-1-git-send-email-bharrosh@panasas.com> (raw)
In-Reply-To: <4B0AB039.6020608-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>

Two nfsd related headers where included but never actually
used. The linux/nfsd/nfsd.h file will eventually be moved
to fs/nfsd directory as it is only needed by nfsd itself.

There are 3 more compat.c files in the Kernel at other ARCHs
that wrongly #include nfsd headers. Once these are fixed the
headers can be moved.

Signed-off-by: Boaz Harrosh <bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
---
 fs/compat.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/compat.c b/fs/compat.c
index d576b55..514b623 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -38,8 +38,6 @@
 #include <linux/dirent.h>
 #include <linux/fsnotify.h>
 #include <linux/highuid.h>
-#include <linux/sunrpc/svc.h>
-#include <linux/nfsd/nfsd.h>
 #include <linux/nfsd/syscall.h>
 #include <linux/personality.h>
 #include <linux/rwsem.h>
-- 
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Boaz Harrosh <bharrosh@panasas.com>
To: "J. Bruce Fields" <bfields@citi.umich.edu>,
	Benny Halevy <bhalevy@panasas.com>,
	NFS list <linux-nfs@vger.kernel.org>,
	pNFS Mailing List <pnfs@linux-nfs.org>,
	Trond Myklebust <Trond.M
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	Al Viro <viro@ZenIV.linux.org.uk>,
	Randy Dunlap <randy.dunlap@oracle.com>
Subject: [PATCH 6/6] compat.c: Remove dependence on nfsd private headers
Date: Mon, 23 Nov 2009 18:00:07 +0200	[thread overview]
Message-ID: <1258992007-25473-1-git-send-email-bharrosh@panasas.com> (raw)
In-Reply-To: <4B0AB039.6020608@panasas.com>

Two nfsd related headers where included but never actually
used. The linux/nfsd/nfsd.h file will eventually be moved
to fs/nfsd directory as it is only needed by nfsd itself.

There are 3 more compat.c files in the Kernel at other ARCHs
that wrongly #include nfsd headers. Once these are fixed the
headers can be moved.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
---
 fs/compat.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/compat.c b/fs/compat.c
index d576b55..514b623 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -38,8 +38,6 @@
 #include <linux/dirent.h>
 #include <linux/fsnotify.h>
 #include <linux/highuid.h>
-#include <linux/sunrpc/svc.h>
-#include <linux/nfsd/nfsd.h>
 #include <linux/nfsd/syscall.h>
 #include <linux/personality.h>
 #include <linux/rwsem.h>
-- 
1.6.5.2


  parent reply	other threads:[~2009-11-23 16:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 15:54 [PATCHSET 0-6] nfsd: #includes cleanup Boaz Harrosh
2009-11-23 15:54 ` Boaz Harrosh
     [not found] ` <4B0AB039.6020608-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
2009-11-23 15:58   ` [PATCH 1/6] nfsd: Remove nfsfh.h dependency on sunrpc Boaz Harrosh
2009-11-23 15:58     ` Boaz Harrosh
     [not found]     ` <1258991910-25335-1-git-send-email-bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
2009-11-23 22:17       ` J. Bruce Fields
2009-11-23 22:17         ` J. Bruce Fields
     [not found]         ` <20091123221705.GF8534-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2009-11-24  8:28           ` Boaz Harrosh
2009-11-24  8:28             ` Boaz Harrosh
2009-11-25 20:57             ` J. Bruce Fields
2009-11-23 15:58   ` [PATCH 2/6] sunrpc: Clean never used include files Boaz Harrosh
2009-11-23 15:58     ` Boaz Harrosh
2009-11-23 15:59   ` [PATCH 3/6] nfsd: Fix independence of a few nfsd related headers Boaz Harrosh
2009-11-23 15:59     ` Boaz Harrosh
2009-11-23 15:59   ` [PATCH 4/6] nfsd: Headers Independence and include cleanups Boaz Harrosh
2009-11-23 15:59     ` Boaz Harrosh
2009-11-23 16:00   ` Boaz Harrosh [this message]
2009-11-23 16:00     ` [PATCH 6/6] compat.c: Remove dependence on nfsd private headers Boaz Harrosh
2009-11-23 15:59 ` [PATCH 5/6] nfsd: Source files #include cleanups Boaz Harrosh
2009-11-24  8:17   ` [PATCH 5/6 version2] " Boaz Harrosh
     [not found]   ` <1258991991-25446-1-git-send-email-bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
2009-11-23 17:26     ` [pnfs] [PATCH 5/6] " Boaz Harrosh
2009-11-23 17:26       ` Boaz Harrosh
2009-11-24 12:43     ` [pnfs] [PATCH 5/6 version3] " Boaz Harrosh
2009-11-24 12:43       ` Boaz Harrosh
2009-11-23 22:14 ` [PATCHSET 0-6] nfsd: #includes cleanup J. Bruce Fields
     [not found]   ` <20091123221415.GE8534-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2009-11-24 12:42     ` Boaz Harrosh
2009-11-24 12:42       ` Boaz Harrosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1258992007-25473-1-git-send-email-bharrosh@panasas.com \
    --to=bharrosh-c4p08nqkorlbdgjk7y7tuq@public.gmane.org \
    --cc=bfields-vtMw8L3fJ9vSiEDVxGk4TQ@public.gmane.org \
    --cc=bhalevy-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pnfs-6DNke4IJHB0gsBAKwltoeQ@public.gmane.org \
    --cc=randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=viro-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.