aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-05-06 13:37:14 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-05-06 17:54:54 -0400
commitd430e8d530e900c923bf77718d72478b1c280592 (patch)
treea8907dc9e4fd7d8e7cec2f8ba3498752a1140a91
parent9c69de4c94fcb11db919160d5fa0b48f13d1757a (diff)
nfsd: move <linux/nfsd/export.h> to fs/nfsd
There are no legitimate users outside of fs/nfsd, so move it there. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/lockd/svcsubs.c1
-rw-r--r--fs/nfsd/export.h (renamed from include/linux/nfsd/export.h)5
-rw-r--r--fs/nfsd/nfsd.h3
3 files changed, 2 insertions, 7 deletions
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 @@
14#include <linux/mutex.h> 14#include <linux/mutex.h>
15#include <linux/sunrpc/svc.h> 15#include <linux/sunrpc/svc.h>
16#include <linux/sunrpc/addr.h> 16#include <linux/sunrpc/addr.h>
17#include <linux/nfsd/export.h>
18#include <linux/lockd/lockd.h> 17#include <linux/lockd/lockd.h>
19#include <linux/lockd/share.h> 18#include <linux/lockd/share.h>
20#include <linux/module.h> 19#include <linux/module.h>
diff --git a/include/linux/nfsd/export.h b/fs/nfsd/export.h
index b12c4e526ef2..d7939a62a0ae 100644
--- a/include/linux/nfsd/export.h
+++ b/fs/nfsd/export.h
@@ -1,9 +1,4 @@
1/* 1/*
2 * include/linux/nfsd/export.h
3 *
4 * Public declarations for NFS exports. The definitions for the
5 * syscall interface are in nfsctl.h
6 *
7 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> 2 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
8 */ 3 */
9#ifndef NFSD_EXPORT_H 4#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 @@
19#include <linux/sunrpc/msg_prot.h> 19#include <linux/sunrpc/msg_prot.h>
20 20
21#include <linux/nfsd/debug.h> 21#include <linux/nfsd/debug.h>
22#include <linux/nfsd/export.h>
23#include <linux/nfsd/stats.h> 22#include <linux/nfsd/stats.h>
24 23
24#include "export.h"
25
25/* 26/*
26 * nfsd version 27 * nfsd version
27 */ 28 */