projects
/
unionfs-2.6.18.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82952e0
)
Unionfs: initialize path_save variable
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 16 Feb 2008 02:38:30 +0000
(21:38 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 16 Feb 2008 02:38:30 +0000
(21:38 -0500)
This is not strictly necessary, but it helps quiet a gcc-4.2 warning (a good
optimizer may optimize this initialization away).
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/inode.c
b/fs/unionfs/inode.c
index 2d9c2494fbdc89a9bc1b4dd1de8481d43322e352..bd19f93478495054be2a202bf3d7866b631e07bf 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-239,7
+239,7
@@
static struct dentry *unionfs_lookup(struct inode *parent,
struct dentry *dentry,
struct nameidata *nd)
{
- struct path path_save;
+ struct path path_save
= {NULL, NULL}
;
struct dentry *ret;
unionfs_read_lock(dentry->d_sb, UNIONFS_SMUTEX_CHILD);