diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-30 03:34:08 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-31 18:51:34 +0200 |
commit | 11b9164adad7cd119b82b1f2c911a6d9bc67f1cc (patch) | |
tree | 865bd5d31dccec6f6ff9d71534e83dad10e9e215 /fs/nfsd/nfs4callback.c | |
parent | nfsd: Add reference counting to the lock and open stateids (diff) | |
download | linux-11b9164adad7cd119b82b1f2c911a6d9bc67f1cc.tar.xz linux-11b9164adad7cd119b82b1f2c911a6d9bc67f1cc.zip |
nfsd: Add a struct nfs4_file field to struct nfs4_stid
All stateids are associated with a nfs4_file. Let's consolidate.
Replace delegation->dl_file with the dl_stid.sc_file, and
nfs4_ol_stateid->st_file with st_stid.sc_file.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 8574c708cf8c..e0be57b0f79b 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -337,7 +337,7 @@ static void encode_cb_recall4args(struct xdr_stream *xdr, p = xdr_reserve_space(xdr, 4); *p++ = xdr_zero; /* truncate */ - encode_nfs_fh4(xdr, &dp->dl_file->fi_fhandle); + encode_nfs_fh4(xdr, &dp->dl_stid.sc_file->fi_fhandle); hdr->nops++; } |