[Ocfs2-devel] kernel BUG at fs/buffer.c:2886! Linux 3.5.0

Vincent ETIENEN ve at vetienne.net
Fri Aug 3 00:22:29 PDT 2012



Le 02/08/2012 23:08, Sunil Mushran a écrit :
> On Thu, Aug 2, 2012 at 12:28 PM, Vincent ETIENNE <ve at vetienne.net
> <mailto:ve at vetienne.net>> wrote:
>
>     Hi
>
>     based on current git ( commit
>     1a9b4993b70fb1884716902774dc9025b457760d )
>     and  reverting commit  ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1
>
>     commit ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1
>     Author: Al Viro <viro at zeniv.linux.org.uk
>     <mailto:viro at zeniv.linux.org.uk>>
>     Date:   Thu May 3 10:14:29 2012 -0400
>
>         ocfs: simplify symlink handling
>
>      and  adding the correction from
>
>     https://oss.oracle.com/git/?p=smushran/linux-2.6.git;a=commit;h=a2118b301104a24381b414bc93371d666fe8d43a
>
>     suppres the fallocate bug
>
>     and lead to no oops. At least immediatly. Will let it run some times
>
>
>
> Apply this change and re-run:
>
> diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
> index f1fbb4b..66edce7 100644
> --- 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;
>
latest head with only your two changes is working here, thanks a lot.
Running now flowlessly since a few hours.

Vincent



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20120803/61814922/attachment.html 


More information about the Ocfs2-devel mailing list