From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 1/2] fs: optimize mpage_readpage() Date: Sat, 29 May 2010 15:46:25 +0200 Message-ID: <20100529134625.GC25092@liondog.tnic> References: <1275095926-18345-1-git-send-email-xiaosuo@gmail.com> <20100529121019.GA25092@liondog.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Changli Gao Return-path: Received: from mail.skyhub.de ([78.46.96.112]:34826 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756158Ab0E2Nq2 (ORCPT ); Sat, 29 May 2010 09:46:28 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Changli Gao Date: Sat, May 29, 2010 at 09:26:47PM +0800 > Did the compiler warning appear after applying my patch? It doesn't > happen when I testing it. yep, using gcc (Debian 4.4.4-2) 4.4.4 here. > And I don't pass bio to do_mpage_readpage(), but I pass NULL instead. True, but you still need that bio pointer so you might just as well set it to NULL as the original code does. -- Regards/Gruss, Boris.