diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-08-26 16:04:46 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-23 09:03:46 -0400 |
commit | d518465866bfeaa41fb685d7dfc9983e0312232e (patch) | |
tree | 3815bc387084522cb4e773b933271ee2ba7532b6 /fs/nfsd/nfs4proc.c | |
parent | 4aea24b2ff7510932118ec9b06c35a11625194ea (diff) |
nfsd4: tweak nfsd4_encode_getattr to take xdr_stream
Just change the nfsd4_encode_getattr api. Not changing any code or
adding any new functionality yet.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 6d94adf6c963..94ef528bb1dd 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -1061,10 +1061,10 @@ _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, | |||
1061 | return nfserr_jukebox; | 1061 | return nfserr_jukebox; |
1062 | 1062 | ||
1063 | p = buf; | 1063 | p = buf; |
1064 | status = nfsd4_encode_fattr(&cstate->current_fh, | 1064 | status = nfsd4_encode_fattr_to_buf(&p, count, &cstate->current_fh, |
1065 | cstate->current_fh.fh_export, | 1065 | cstate->current_fh.fh_export, |
1066 | cstate->current_fh.fh_dentry, &p, | 1066 | cstate->current_fh.fh_dentry, |
1067 | count, verify->ve_bmval, | 1067 | verify->ve_bmval, |
1068 | rqstp, 0); | 1068 | rqstp, 0); |
1069 | /* | 1069 | /* |
1070 | * If nfsd4_encode_fattr() ran out of space, assume that's because | 1070 | * If nfsd4_encode_fattr() ran out of space, assume that's because |