projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfebe40
)
Fix warning
author
Steve French
<smfrench@gmail.com>
Tue, 31 Mar 2015 03:03:06 +0000
(22:03 -0500)
committer
Steve French
<smfrench@gmail.com>
Wed, 1 Apr 2015 05:01:47 +0000
(
00:01
-0500)
Coverity reports a warning due to unitialized attr structure in one
code path.
Reported by Coverity (CID 728535)
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Jeff Layton <jlayton@samba.org>
fs/cifs/inode.c
patch
|
blob
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index 2d4f37235ed0fa360782ae237c89fccccbf8b719..3e126d7bb2ea5bec97c9d6e02973a49886261580 100644
(file)
--- a/
fs/cifs/inode.c
+++ b/
fs/cifs/inode.c
@@
-771,6
+771,8
@@
cifs_get_inode_info(struct inode **inode, const char *full_path,
cifs_buf_release(srchinf->ntwrk_buf_start);
}
kfree(srchinf);
+ if (rc)
+ goto cgii_exit;
} else
goto cgii_exit;