diff options
-rw-r--r-- | nfs/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1044,7 +1044,7 @@ netfs_attempt_create_file (struct iouser *cred, struct node *np, if (!netfs_validate_stat (*newnp, -1) && (*newnp)->nn_stat.st_uid != owner) - netfs_attempt_chown (-1, newnp, owner, (*newnp)->nn_stat.st_gid); + netfs_attempt_chown (-1, *newnp, owner, (*newnp)->nn_stat.st_gid); } else *newnp = 0; |