aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-07 01:49:29 -0500
committerNick Piggin <npiggin@kernel.dk>2011-01-07 01:50:20 -0500
commitec2447c278ee973d35f38e53ca16ba7f965ae33d (patch)
tree5d17a0523c301b8c71c0f198ffe7782c5e9c0ea9 /include/linux/dcache.h
parentb1e6a015a580ad145689ad1d6b4aa0e03e6c868b (diff)
hostfs: simplify locking
Remove dcache_lock locking from hostfs filesystem, and move it into dcache helpers. All that is required is a coherent path name. Protection from concurrent modification of the namespace after path name generation is not provided in current code, because dcache_lock is dropped before the path is used. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 1149e706f04d..cea27dfca532 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -311,7 +311,7 @@ extern char *dynamic_dname(struct dentry *, char *, int, const char *, ...);
311extern char *__d_path(const struct path *path, struct path *root, char *, int); 311extern char *__d_path(const struct path *path, struct path *root, char *, int);
312extern char *d_path(const struct path *, char *, int); 312extern char *d_path(const struct path *, char *, int);
313extern char *d_path_with_unreachable(const struct path *, char *, int); 313extern char *d_path_with_unreachable(const struct path *, char *, int);
314extern char *__dentry_path(struct dentry *, char *, int); 314extern char *dentry_path_raw(struct dentry *, char *, int);
315extern char *dentry_path(struct dentry *, char *, int); 315extern char *dentry_path(struct dentry *, char *, int);
316 316
317/* Allocation counts.. */ 317/* Allocation counts.. */