diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-16 16:39:14 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-17 13:33:18 -0400 |
commit | 466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40 (patch) | |
tree | 1b05eafffa8d48b9ba89bde693495daa80395d56 /fs/nfs/nfs4_fs.h | |
parent | 129d1977ed39cbb4f091a518e4a12498c04f45ba (diff) |
NFS: Initialize v4 sysctls from nfs_init_v4()
And split them out of the generic client into their own file.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 1a6ed3f9a32a..b508fef1a32b 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -368,6 +368,21 @@ extern const nfs4_stateid zero_stateid; | |||
368 | int init_nfs_v4(void); | 368 | int init_nfs_v4(void); |
369 | void exit_nfs_v4(void); | 369 | void exit_nfs_v4(void); |
370 | 370 | ||
371 | /* nfs4sysctl.c */ | ||
372 | #ifdef CONFIG_SYSCTL | ||
373 | int nfs4_register_sysctl(void); | ||
374 | void nfs4_unregister_sysctl(void); | ||
375 | #else | ||
376 | static inline int nfs4_register_sysctl(void) | ||
377 | { | ||
378 | return 0; | ||
379 | } | ||
380 | |||
381 | static inline int nfs4_unregister_sysctl(void) | ||
382 | { | ||
383 | } | ||
384 | #endif | ||
385 | |||
371 | /* nfs4xdr.c */ | 386 | /* nfs4xdr.c */ |
372 | extern struct rpc_procinfo nfs4_procedures[]; | 387 | extern struct rpc_procinfo nfs4_procedures[]; |
373 | 388 | ||