diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:49:29 -0500 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:20 -0500 |
commit | ec2447c278ee973d35f38e53ca16ba7f965ae33d (patch) | |
tree | 5d17a0523c301b8c71c0f198ffe7782c5e9c0ea9 /include/linux/dcache.h | |
parent | b1e6a015a580ad145689ad1d6b4aa0e03e6c868b (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.h | 2 |
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 *, ...); | |||
311 | extern char *__d_path(const struct path *path, struct path *root, char *, int); | 311 | extern char *__d_path(const struct path *path, struct path *root, char *, int); |
312 | extern char *d_path(const struct path *, char *, int); | 312 | extern char *d_path(const struct path *, char *, int); |
313 | extern char *d_path_with_unreachable(const struct path *, char *, int); | 313 | extern char *d_path_with_unreachable(const struct path *, char *, int); |
314 | extern char *__dentry_path(struct dentry *, char *, int); | 314 | extern char *dentry_path_raw(struct dentry *, char *, int); |
315 | extern char *dentry_path(struct dentry *, char *, int); | 315 | extern char *dentry_path(struct dentry *, char *, int); |
316 | 316 | ||
317 | /* Allocation counts.. */ | 317 | /* Allocation counts.. */ |