projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad506f
)
Unionfs: initialize lower mnt in lookup after vfs_path_lookup
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 20 Aug 2008 17:04:27 +0000
(13:04 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 24 Jun 2011 18:07:59 +0000
(14:07 -0400)
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 0a9602a68eb23ed3b897ec83ab89adb4e50f0b54..a3b42357fa298d6de8307bc85fbacb48fe3b60f7 100644
(file)
--- a/
fs/unionfs/lookup.c
+++ b/
fs/unionfs/lookup.c
@@
-392,7
+392,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 */