Displaying 1 result from an estimated 1 matches for "f7b3eac".
2008 Aug 19
0
[PATCH] Reinstate '-osubvol=.' option to mount entire tree
...red when I removed the special case for ''.'' in btrfs_lookup()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
super.c | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/super.c b/super.c
index 55f4d00..f7b3eac 100644
--- a/super.c
+++ b/super.c
@@ -451,21 +451,25 @@ static int btrfs_get_sb(struct file_system_type *fs_type, int flags,
s->s_flags |= MS_ACTIVE;
}
- mutex_lock(&s->s_root->d_inode->i_mutex);
- root = lookup_one_len(subvol_name, s->s_root, strlen(subvol_name));
- mute...