projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d2068
)
ocfs2: Fix oops in ocfs2_fast_symlink_readpage() code path
author
Sunil Mushran
<smushran@yahoo.com>
Fri, 3 Aug 2012 16:36:17 +0000
(17:36 +0100)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:12 +0000
(
02:46
-0500)
Commit
ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1
was missing a var init.
Reported-and-Tested-by: Vincent Etienne <vetienne@aprogsys.com>
Signed-off-by: Sunil Mushran <sunil.mushran@gmail.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ocfs2/symlink.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/symlink.c
b/fs/ocfs2/symlink.c
index
f1fbb4b
..
66edce7
100644
(file)
--- a/
fs/ocfs2/symlink.c
+++ b/
fs/ocfs2/symlink.c
@@
-57,7
+57,7
@@
static int ocfs2_fast_symlink_readpage(struct file *unused, struct page *page)
{
struct inode *inode = page->mapping->host;
- struct buffer_head *bh;
+ struct buffer_head *bh
= NULL
;
int status = ocfs2_read_inode_block(inode, &bh);
struct ocfs2_dinode *fe;
const char *link;