nfs41: use nfs4_statfs_res
In preparation for nfs41 sequence processing. Signed-off-by: Andy Admason <andros@netapp.com> [define nfs4_statfs_res] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
f50c700081
commit
24ad148a0f
3 changed files with 12 additions and 3 deletions
|
@ -2426,10 +2426,13 @@ static int _nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
|
|||
.fh = fhandle,
|
||||
.bitmask = server->attr_bitmask,
|
||||
};
|
||||
struct nfs4_statfs_res res = {
|
||||
.fsstat = fsstat,
|
||||
};
|
||||
struct rpc_message msg = {
|
||||
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_STATFS],
|
||||
.rpc_argp = &args,
|
||||
.rpc_resp = fsstat,
|
||||
.rpc_resp = &res,
|
||||
};
|
||||
|
||||
nfs_fattr_init(fsstat->fattr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue