Re: [PATCH] Avoid a NULL pointer in btrfs

2011-01-20 Thread Liuwenyi
于 2011-1-19 23:52, Chris Mason 写道: Excerpts from Josef Bacik's message of 2011-01-19 09:14:02 -0500: On Wed, Jan 19, 2011 at 10:08:13PM +0800, Liuwenyi wrote: In Yang Ruirui's mail, the btrfs will create a oops. This is caused by a null pointer in test_range_bit() while lock the spi

[PATCH] Avoid a NULL pointer in btrfs

2011-01-19 Thread Liuwenyi
In Yang Ruirui's mail, the btrfs will create a oops. This is caused by a null pointer in test_range_bit() while lock the spinlock. So, It is necessary to add a pointer check into test_range_bit() --- Signed-off-by: Liu Wenyi --- fs/btrfs/extent_io.c | 3 +++ 1 files changed, 3 insertions(+), 0 d

Re: [BUG] 2.6.35 btrfs oops at extent_range_uptodate

2011-01-19 Thread Liuwenyi
于 2011-1-19 14:27, Yang Ruirui 写道: Boot with meego kernel 2.6.35.9-6.5-adaptation-n900 on n900, an oops happend, I see similar reporting in lkml: https://lkml.org/lkml/2010/8/26/103 I just happened once, so I don't know hot to reproduce it. `addr2line -e vmlinux 0xc0197888` show fs/btrfs/exte

Re: [PATCH]btrfs: avoid comparing with NULL pointer

2010-01-27 Thread Liuwenyi
于 2010年01月27日 16:00, Yan, Zheng 写道: 2010/1/27 Liuwenyi: In this patch, I adjust the seqence of if-conditions. It will assess the page->private situation. First, we make sure the page->private is not null. And then, we can do some with this page->private. --- Signed-off-by: Li

[PATCH]btrfs: avoid comparing with NULL pointer

2010-01-26 Thread Liuwenyi
In this patch, I adjust the seqence of if-conditions. It will assess the page->private situation. First, we make sure the page->private is not null. And then, we can do some with this page->private. --- Signed-off-by: Liuwenyi Cc: Chris Mason Cc: Yan Zheng Cc: Josef Bacik Cc: Jens

Re: Unable to handle kernel NULL pointer dereference at virtual address 00000008

2010-01-21 Thread Liuwenyi
makes sense. Unfortunately I'm no kernel hacker so I can't provide a patch. I'm more than happy to test patches of course. With kind regards, Sander I remember that the lastest git pull had fixed this bug, it was Chris Mason's patch. -- Best Regards, Liuwenyi --

Re: [RFC INFO PATCH 02/03] export use_mm and unuse_mm for filesystem modules.

2010-01-19 Thread Liuwenyi
Maybe, you should send this patch to Andrew Morton Andrea Arcangeli Michael S. Tsirkin linux-ker...@vger.kernel.org linux...@kvack.org 于 2010年01月20日 05:58, jim owens 写道: required for btrfs directio worker threads. Signed-off-by: jim owens --- mm/mmu_context.c |3 +++ 1 files changed, 3

Re: btrfs development git tree

2010-01-08 Thread Liuwenyi
Maybe the wiki could list also alternative repos from other developers? thanks simon Maybe there is no suitable patch accepted by community. You can search the maillist in past 3 weeks or more and find it out. -- Best Regards, Liuwenyi -- To unsubscribe from this list: send the line &q

[PATCHv2 02/12]posix_acl: Add the check items

2009-12-21 Thread Liuwenyi
move the ACL validation check in to fs/posix_acl.c. Including nullpointer check and PTR_ERR check. --- Signed-off-by: Liuwenyi Cc: Chris Mason Cc: Al Viro Cc: Joel Becker Cc: Chris Ball Cc: James Morris Cc: linux-btrfs@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- diff --git a/fs