diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 7f4ab820811a..edc18cd63a88 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2383,7 +2383,7 @@ common: | |||
2383 | out: | 2383 | out: |
2384 | if (want_write) | 2384 | if (want_write) |
2385 | mnt_drop_write(nd->path.mnt); | 2385 | mnt_drop_write(nd->path.mnt); |
2386 | path_put(&nd->path); | 2386 | terminate_walk(nd); |
2387 | return filp; | 2387 | return filp; |
2388 | 2388 | ||
2389 | exit_mutex_unlock: | 2389 | exit_mutex_unlock: |