From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 825F88D0039 for ; Mon, 7 Mar 2011 05:07:22 -0500 (EST) Received: from m4.gw.fujitsu.co.jp (unknown [10.0.50.74]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id 069A13EE0C1 for ; Mon, 7 Mar 2011 19:07:19 +0900 (JST) Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id E0BD345DE53 for ; Mon, 7 Mar 2011 19:07:18 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id C6CA045DE50 for ; Mon, 7 Mar 2011 19:07:18 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id B340F1DB8045 for ; Mon, 7 Mar 2011 19:07:18 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.240.81.133]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 5591D1DB803F for ; Mon, 7 Mar 2011 19:07:18 +0900 (JST) Date: Mon, 7 Mar 2011 19:00:57 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCHv2 19/24] sys_swapon: separate parsing of bad blocks and extents Message-Id: <20110307190057.2a5d10ad.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1299343345-3984-20-git-send-email-cesarb@cesarb.net> References: <1299343345-3984-1-git-send-email-cesarb@cesarb.net> <1299343345-3984-20-git-send-email-cesarb@cesarb.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Cesar Eduardo Barros Cc: linux-mm@kvack.org, Andrew Morton , Hugh Dickins , Minchan Kim , Jens Axboe , linux-kernel@vger.kernel.org, Eric B Munson On Sat, 5 Mar 2011 13:42:20 -0300 Cesar Eduardo Barros wrote: > Move the code which parses the bad block list and the extents to a > separate function. Only code movement, no functional changes. > > This change uses the fact that, after the success path, nr_good_pages == > p->pages. > > Signed-off-by: Cesar Eduardo Barros > Tested-by: Eric B Munson > Acked-by: Eric B Munson Reviewed-by: KAMEZAWA Hiroyuki -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org