aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/idmap.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-04-11 09:32:44 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-04-12 09:12:10 -0400
commit43ec1a20bfbe1fbf6df6bf5a7b9c88ea090dbfcd (patch)
treeaa0fb40cc8955d358bc9a39444c4ad2cc66d1e9b /fs/nfsd/idmap.h
parent5717e0128422b96be6aa414fa752ec90c1cd31e9 (diff)
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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfsd/idmap.h b/fs/nfsd/idmap.h
index 2f3be1321534..9d513efc01ba 100644
--- a/fs/nfsd/idmap.h
+++ b/fs/nfsd/idmap.h
@@ -42,14 +42,14 @@
42#define IDMAP_NAMESZ 128 42#define IDMAP_NAMESZ 128
43 43
44#ifdef CONFIG_NFSD_V4 44#ifdef CONFIG_NFSD_V4
45int nfsd_idmap_init(void); 45int nfsd_idmap_init(struct net *);
46void nfsd_idmap_shutdown(void); 46void nfsd_idmap_shutdown(struct net *);
47#else 47#else
48static inline int nfsd_idmap_init(void) 48static inline int nfsd_idmap_init(struct net *net)
49{ 49{
50 return 0; 50 return 0;
51} 51}
52static inline void nfsd_idmap_shutdown(void) 52static inline void nfsd_idmap_shutdown(struct net *net)
53{ 53{
54} 54}
55#endif 55#endif