diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-07-25 08:57:22 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-07-27 16:49:22 -0400 |
commit | 5ccb0066f2d561549cc4d73d7f56b4ce3ca7a8a1 (patch) | |
tree | 43ca9eff5c94fc3609d858ce2a430c544fcc5f99 /fs/nfsd/state.h | |
parent | db9c4553412d72c6a05e0168d1d487f66e0660b3 (diff) |
LockD: pass actual network namespace to grace period management functions
Passed network namespace replaced hard-coded init_net
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 495df4e3aa67..981ef10141b3 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -451,7 +451,8 @@ static inline struct nfs4_ol_stateid *openlockstateid(struct nfs4_stid *s) | |||
451 | 451 | ||
452 | struct nfsd4_compound_state; | 452 | struct nfsd4_compound_state; |
453 | 453 | ||
454 | extern __be32 nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, | 454 | extern __be32 nfs4_preprocess_stateid_op(struct net *net, |
455 | struct nfsd4_compound_state *cstate, | ||
455 | stateid_t *stateid, int flags, struct file **filp); | 456 | stateid_t *stateid, int flags, struct file **filp); |
456 | extern void nfs4_lock_state(void); | 457 | extern void nfs4_lock_state(void); |
457 | extern void nfs4_unlock_state(void); | 458 | extern void nfs4_unlock_state(void); |