symlink: nfs41_create() can create symlinks
added optional symlink argument to nfs41_create(), used when type is NF4LNK changed createttype4.u.lnk.linkdata from char[] to const char* and updated encoding in nfs41_xdr.c Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
08c2618551
commit
8c4c98b669
4 changed files with 10 additions and 4 deletions
|
|
@ -300,7 +300,7 @@ int handle_open(nfs41_upcall *upcall)
|
|||
|
||||
if (create == OPEN4_CREATE && (args->create_opts & FILE_DIRECTORY_FILE)) {
|
||||
status = nfs41_create(state->session, NF4DIR, args->mode,
|
||||
&state->parent, &state->file);
|
||||
NULL, &state->parent, &state->file);
|
||||
args->std_info.Directory = 1;
|
||||
args->created = status == NFS4_OK;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue