git.openpandora.org
/
pandora-kernel.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
[pandora-kernel.git]
/
security
/
apparmor
/
path.c
diff --git
a/security/apparmor/path.c
b/security/apparmor/path.c
index
8239605
..
36cc0cc
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