diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 116fd33f564b..761f35a32f0f 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1911,7 +1911,7 @@ char *__d_path(const struct path *path, struct path *root, char *end = buffer + buflen; char *retval; - spin_lock(&vfsmount_lock); + vfsmount_read_lock(); prepend(&end, &buflen, "\0", 1); if (d_unlinked(dentry) && (prepend(&end, &buflen, " (deleted)", 10) != 0)) @@ -1947,7 +1947,7 @@ char *__d_path(const struct path *path, struct path *root, } out: - spin_unlock(&vfsmount_lock); + vfsmount_read_unlock(); return retval; global_root: |