summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2014-04-08 07:06:28 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-05-08 20:59:52 +0200
commit9fa1959e976f7a6ae84f616ca669359028070c61 (patch)
tree7a580c120ff3ed2cec0c6303ffb3ba6bab42139f /fs/nfsd/nfsd.h
parentNFSD: Use simple_read_from_buffer for coping data to userspace (diff)
downloadlinux-9fa1959e976f7a6ae84f616ca669359028070c61.tar.xz
linux-9fa1959e976f7a6ae84f616ca669359028070c61.zip
NFSD: Get rid of empty function nfs4_state_init
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r--fs/nfsd/nfsd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index e9f2fd42d184..847daf37e566 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -115,7 +115,6 @@ static inline int nfsd_v4client(struct svc_rqst *rq)
*/
#ifdef CONFIG_NFSD_V4
extern unsigned long max_delegations;
-void nfs4_state_init(void);
int nfsd4_init_slabs(void);
void nfsd4_free_slabs(void);
int nfs4_state_start(void);
@@ -126,7 +125,6 @@ void nfs4_reset_lease(time_t leasetime);
int nfs4_reset_recoverydir(char *recdir);
char * nfs4_recoverydir(void);
#else
-static inline void nfs4_state_init(void) { }
static inline int nfsd4_init_slabs(void) { return 0; }
static inline void nfsd4_free_slabs(void) { }
static inline int nfs4_state_start(void) { return 0; }