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

2010-01-27 Thread Yan, Zheng
2010/1/27 Liuwenyi qingshen...@gmail.com: 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 qingshen...@gmail.com

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

2010-01-27 Thread Liuwenyi
于 2010年01月27日 16:00, Yan, Zheng 写道: 2010/1/27 Liuwenyiqingshen...@gmail.com: 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. ---

[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 qingshen...@gmail.com Cc: Chris Mason chris.ma...@oracle.com Cc: Yan