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:
2363acd
)
Unionfs: initialize path_save variable
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 15 Feb 2008 22:18:48 +0000
(17:18 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:35 +0000
(22:37 -0400)
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 0b92da2473ca60b2f843c108bc0b1642b78889ce..8d939dc1f458481436a7fd503ba7772aa033f1fd 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-246,7
+246,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);