nfsd4: rename cr_linkname->cr_data
The name of a link is currently stored in cr_name and cr_namelen, and the content in cr_linkname and cr_linklen. That's confusing. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
52ee04330f
commit
7fb84306f5
3 changed files with 12 additions and 13 deletions
|
@ -623,7 +623,7 @@ nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
|||
case NF4LNK:
|
||||
status = nfsd_symlink(rqstp, &cstate->current_fh,
|
||||
create->cr_name, create->cr_namelen,
|
||||
create->cr_linkname,
|
||||
create->cr_data,
|
||||
&resfh, &create->cr_iattr);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue