max_path: static buffer for symlink path

added nfs41_abs_path symlink to struct open_upcall_args. we can't write the symlink target back to args->path anymore, since it's a pointer into the upcall buffer

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-10-12 10:06:45 -04:00
parent 6d2b631080
commit 66d4ea8e0b
3 changed files with 19 additions and 16 deletions

View file

@ -2568,7 +2568,7 @@ NTSTATUS nfs41_Create(
goto out;
}
if (entry->errno == ERROR_REPARSE) {
if (entry->status == NO_ERROR && entry->errno == ERROR_REPARSE) {
/* symbolic link handling. when attempting to open a symlink when the
* FILE_OPEN_REPARSE_POINT flag is not set, replace the filename with
* the symlink target's by calling RxPrepareToReparseSymbolicLink()