diff options
| -rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 036d8625b4f9..4b90e17555a9 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
| @@ -1434,7 +1434,7 @@ nfs4_atomic_open(struct inode *dir, struct dentry *dentry, struct nameidata *nd) | |||
| 1434 | } | 1434 | } |
| 1435 | res = d_add_unique(dentry, igrab(state->inode)); | 1435 | res = d_add_unique(dentry, igrab(state->inode)); |
| 1436 | if (res != NULL) | 1436 | if (res != NULL) |
| 1437 | dentry = res; | 1437 | path.dentry = res; |
| 1438 | nfs4_intent_set_file(nd, &path, state); | 1438 | nfs4_intent_set_file(nd, &path, state); |
| 1439 | return res; | 1439 | return res; |
| 1440 | } | 1440 | } |
