diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-04-11 13:32:44 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 13:12:10 (GMT) |
commit | 43ec1a20bfbe1fbf6df6bf5a7b9c88ea090dbfcd (patch) | |
tree | aa0fb40cc8955d358bc9a39444c4ad2cc66d1e9b /fs/nfsd/idmap.h | |
parent | 5717e0128422b96be6aa414fa752ec90c1cd31e9 (diff) | |
download | linux-fsl-qoriq-43ec1a20bfbe1fbf6df6bf5a7b9c88ea090dbfcd.tar.xz |
nfsd: pass network context to idmap init/exit functions
These functions will be called from per-net operations.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/idmap.h')
-rw-r--r-- | fs/nfsd/idmap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfsd/idmap.h b/fs/nfsd/idmap.h index 2f3be13..9d513ef 100644 --- a/fs/nfsd/idmap.h +++ b/fs/nfsd/idmap.h @@ -42,14 +42,14 @@ #define IDMAP_NAMESZ 128 #ifdef CONFIG_NFSD_V4 -int nfsd_idmap_init(void); -void nfsd_idmap_shutdown(void); +int nfsd_idmap_init(struct net *); +void nfsd_idmap_shutdown(struct net *); #else -static inline int nfsd_idmap_init(void) +static inline int nfsd_idmap_init(struct net *net) { return 0; } -static inline void nfsd_idmap_shutdown(void) +static inline void nfsd_idmap_shutdown(struct net *net) { } #endif |