projects
/
unionfs-2.6.25.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3315d5
)
Unionfs: initialize lower mnt in lookup after vfs_path_lookup
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 02:22:26 +0000
(22:22 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 12 Jan 2009 23:20:57 +0000
(18:20 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/lookup.c
b/fs/unionfs/lookup.c
index 0ae7f3af27b386fa5a3bc9efee1dab47fa972e9c..d75e7132c8bf37de1cd168764586603ab7fe4a04 100644
(file)
--- a/
fs/unionfs/lookup.c
+++ b/
fs/unionfs/lookup.c
@@
-395,7
+395,9
@@
struct dentry *unionfs_lookup_full(struct dentry *dentry,
goto out_free;
}
unionfs_set_lower_dentry_idx(dentry, bindex, lower_dentry);
- BUG_ON(!lower_mnt);
+ if (!lower_mnt)
+ lower_mnt = unionfs_mntget(dentry->d_sb->s_root,
+ bindex);
unionfs_set_lower_mnt_idx(dentry, bindex, lower_mnt);
/* adjust dbstart/end */