Skip to content

Commit

Permalink
ocfs2: Fix oops in ocfs2_fast_symlink_readpage() code path
Browse files Browse the repository at this point in the history
Commit ea022df 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>
  • Loading branch information
Sunil Mushran authored and Al Viro committed Feb 26, 2013
1 parent 21d2068 commit 30b9c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30b9c9e

Please sign in to comment.