There is a null point bug in kernel ocfs2 module.

Stefan Bader stefan.bader at canonical.com
Mon Apr 16 09:27:31 UTC 2012


On 16.04.2012 10:50, Chang Limin wrote:
> Version 12.04 beta-2
> Refer to http://comments.gmane.org/gmane.comp.file-systems.ocfs2.devel/7766
> 
> --- a/fs/ocfs2/file.c
> 
> +++ b/fs/ocfs2/file.c
> 
> @@ -2012,7 +2012,7 @@ static long ocfs2_fallocate(struct file *file, int mode, loff_t offset,
> 
>         sr.l_start = (s64)offset;
> 
>         sr.l_len = (s64)len;
> 
> 
> 
> -       return __ocfs2_change_file_space(NULL, inode, offset, cmd, &sr,
> 
> +       return __ocfs2_change_file_space(file, inode, offset, cmd, &sr,
> 
>                                        change_size);
> 
>  }
> 
> I hope this bug can be fixed in 12.04.

It certainly can be fixed. But its unlikely (from the time until release) going
into the initial release. The normal path would be to have this patch upstream
(ideally with the proper tag in the signed-off-by area to be picked up by
upstream stable). This ensures that problems are fixed upstream and get proper
upstream review.
If it is marked as stable patch, it will make its way into the kernel. If not,
you should open a launchpad bug with a reference to the fix, so it can be
tracked there.

-Stefan

> 
> Chang limin
> 
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
> 
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20120416/f0bceb7e/attachment-0001.pgp>


More information about the ubuntu-devel mailing list