projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: take dcache_lock inside __d_path
[firefly-linux-kernel-4.4.55.git]
/
security
/
apparmor
/
path.c
diff --git
a/security/apparmor/path.c
b/security/apparmor/path.c
index 82396050f18646ac0519352321637e930c05e367..36cc0cc39e78e135630384e6500f4a789fe7aa2a 100644
(file)
--- a/
security/apparmor/path.c
+++ b/
security/apparmor/path.c
@@
-72,10
+72,8
@@
static int d_namespace_path(struct path *path, char *buf, int buflen,
path_get(&root);
}
- spin_lock(&dcache_lock);
tmp = root;
res = __d_path(path, &tmp, buf, buflen);
- spin_unlock(&dcache_lock);
*name = res;
/* handle error conditions - and still allow a partial path to