From d430e8d530e900c923bf77718d72478b1c280592 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 6 May 2014 19:37:14 +0200 Subject: [PATCH] nfsd: move to fs/nfsd There are no legitimate users outside of fs/nfsd, so move it there. Signed-off-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- fs/lockd/svcsubs.c | 1 - {include/linux => fs}/nfsd/export.h | 5 ----- fs/nfsd/nfsd.h | 3 ++- 3 files changed, 2 insertions(+), 7 deletions(-) rename {include/linux => fs}/nfsd/export.h (95%) diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 7ec6b1074d8c..b6f3b84b6e99 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/include/linux/nfsd/export.h b/fs/nfsd/export.h similarity index 95% rename from include/linux/nfsd/export.h rename to fs/nfsd/export.h index b12c4e526ef2..d7939a62a0ae 100644 --- a/include/linux/nfsd/export.h +++ b/fs/nfsd/export.h @@ -1,9 +1,4 @@ /* - * include/linux/nfsd/export.h - * - * Public declarations for NFS exports. The definitions for the - * syscall interface are in nfsctl.h - * * Copyright (C) 1995-1997 Olaf Kirch */ #ifndef NFSD_EXPORT_H diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 7d5c310678d0..72004caad718 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -19,9 +19,10 @@ #include #include -#include #include +#include "export.h" + /* * nfsd version */ -- 2.11.0