2009-11-25 20:12:25

by J.Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH 5/5] vfs: nfsctl.c unused nfsd #includes

On Tue, Nov 24, 2009 at 08:04:12PM +0200, Boaz Harrosh wrote:
>
> Only linux/nfsd/syscall.h is actually used. Remove the
> other nfsd #includes, so they can be moved to source
> directory.

I guess I'll take this one too.

The arch-specific ones I'm assuming are someone else's problem unless I
hear otherwise.

--b.

>
> Signed-off-by: Boaz Harrosh <[email protected]>
> ---
> fs/nfsctl.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/fs/nfsctl.c b/fs/nfsctl.c
> index 8f9a205..d3854d9 100644
> --- a/fs/nfsctl.c
> +++ b/fs/nfsctl.c
> @@ -7,8 +7,6 @@
> #include <linux/types.h>
> #include <linux/file.h>
> #include <linux/fs.h>
> -#include <linux/sunrpc/svc.h>
> -#include <linux/nfsd/nfsd.h>
> #include <linux/nfsd/syscall.h>
> #include <linux/cred.h>
> #include <linux/sched.h>
> --
> 1.6.5.2
>
>