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 4435d8b32904..40469044088d 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -2575,7 +2575,7 @@ static int prepend_path(const struct path *path, | |||
2575 | bool slash = false; | 2575 | bool slash = false; |
2576 | int error = 0; | 2576 | int error = 0; |
2577 | 2577 | ||
2578 | br_read_lock(vfsmount_lock); | 2578 | br_read_lock(&vfsmount_lock); |
2579 | while (dentry != root->dentry || vfsmnt != root->mnt) { | 2579 | while (dentry != root->dentry || vfsmnt != root->mnt) { |
2580 | struct dentry * parent; | 2580 | struct dentry * parent; |
2581 | 2581 | ||
@@ -2606,7 +2606,7 @@ static int prepend_path(const struct path *path, | |||
2606 | error = prepend(buffer, buflen, "/", 1); | 2606 | error = prepend(buffer, buflen, "/", 1); |
2607 | 2607 | ||
2608 | out: | 2608 | out: |
2609 | br_read_unlock(vfsmount_lock); | 2609 | br_read_unlock(&vfsmount_lock); |
2610 | return error; | 2610 | return error; |
2611 | 2611 | ||
2612 | global_root: | 2612 | global_root: |