diff options
author | Sunil Mushran <smushran@yahoo.com> | 2012-08-03 12:36:17 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:12 -0500 |
commit | 30b9c9e6ba289ba3bb67cc292efcc4122ea37ae5 (patch) | |
tree | b1541ddf391c830fa392280920fa378de731efc3 /fs/ocfs2 | |
parent | 21d206819a6f111c77f0a9e920f5efca06dc65fd (diff) |
ocfs2: Fix oops in ocfs2_fast_symlink_readpage() code path
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>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c index f1fbb4b552ad..66edce7ecfd7 100644 --- a/fs/ocfs2/symlink.c +++ b/fs/ocfs2/symlink.c | |||
@@ -57,7 +57,7 @@ | |||
57 | static int ocfs2_fast_symlink_readpage(struct file *unused, struct page *page) | 57 | static int ocfs2_fast_symlink_readpage(struct file *unused, struct page *page) |
58 | { | 58 | { |
59 | struct inode *inode = page->mapping->host; | 59 | struct inode *inode = page->mapping->host; |
60 | struct buffer_head *bh; | 60 | struct buffer_head *bh = NULL; |
61 | int status = ocfs2_read_inode_block(inode, &bh); | 61 | int status = ocfs2_read_inode_block(inode, &bh); |
62 | struct ocfs2_dinode *fe; | 62 | struct ocfs2_dinode *fe; |
63 | const char *link; | 63 | const char *link; |