Commit 30b9c9e6 authored by Sunil Mushran's avatar Sunil Mushran Committed by Al Viro

ocfs2: Fix oops in ocfs2_fast_symlink_readpage() code path

Commit ea022dfb was missing a var init.
Reported-and-Tested-by: default avatarVincent Etienne <vetienne@aprogsys.com>
Signed-off-by: default avatarSunil Mushran <sunil.mushran@gmail.com>
Signed-off-by: default avatarJoel Becker <jlbec@evilplan.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 21d20681
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment