projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mlx4_core: Add support for secure-host and SMP firewall
[cascardo/linux.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
985c6f3
..
9eb787e
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2256,9
+2256,10
@@
done:
goto out;
}
path->dentry = dentry;
- path->mnt =
mntget(nd->path.mnt)
;
+ path->mnt =
nd->path.mnt
;
if (should_follow_link(dentry, nd->flags & LOOKUP_FOLLOW))
return 1;
+ mntget(path->mnt);
follow_mount(path);
error = 0;
out: