diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-23 17:20:02 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-26 17:35:25 -0400 |
commit | 2a74aba799bfbc02977b69400b7bf4d2850aea79 (patch) | |
tree | d1119f4dbcd05087f7c2ba10203d6842e4252655 /fs/nfsd/state.h | |
parent | 8335ebd94b3f5bed7875cc35848bbe46d8381695 (diff) | |
download | linux-2a74aba799bfbc02977b69400b7bf4d2850aea79.tar.gz linux-2a74aba799bfbc02977b69400b7bf4d2850aea79.tar.bz2 linux-2a74aba799bfbc02977b69400b7bf4d2850aea79.zip |
nfsd4: move client * to nfs4_stateid, add init_stid helper
This will be convenient.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index da68bf66a3d7..70062b75e24a 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -81,6 +81,7 @@ struct nfs4_stid { unsigned char sc_type; struct list_head sc_hash; stateid_t sc_stateid; + struct nfs4_client *sc_client; }; struct nfs4_delegation { @@ -88,7 +89,6 @@ struct nfs4_delegation { struct list_head dl_perclnt; struct list_head dl_recall_lru; /* delegation recalled */ atomic_t dl_count; /* ref count */ - struct nfs4_client *dl_client; struct nfs4_file *dl_file; u32 dl_type; time_t dl_time; |