24 lines
866 B
Diff
24 lines
866 B
Diff
|
*** nfs-ganesha-2.1.0/src/Protocols/NFS/nfs4_pseudo.c.orig 2014-06-27 10:14:43.556133273 -0400
|
||
|
--- nfs-ganesha-2.1.0/src/Protocols/NFS/nfs4_pseudo.c 2014-06-27 10:17:10.928133273 -0400
|
||
|
***************
|
||
|
*** 385,393 ****
|
||
|
/* Now we need to process the rest of the path, creating directories
|
||
|
* if necessary.
|
||
|
*/
|
||
|
! for (tok = strtok_r(rest, "/", &saveptr);
|
||
|
! tok;
|
||
|
! tok = strtok_r(NULL, "/", &saveptr)) {
|
||
|
rc = make_pseudofs_node(tok, &state);
|
||
|
if (!rc) {
|
||
|
/* Release reference on mount point inode
|
||
|
--- 385,393 ----
|
||
|
/* Now we need to process the rest of the path, creating directories
|
||
|
* if necessary.
|
||
|
*/
|
||
|
! saveptr = NULL;
|
||
|
! tok = strtok_r(rest, "/", &saveptr);
|
||
|
! for (; tok; tok = strtok_r(NULL, "/", &saveptr)) {
|
||
|
rc = make_pseudofs_node(tok, &state);
|
||
|
if (!rc) {
|
||
|
/* Release reference on mount point inode
|