From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx191.postini.com [74.125.245.191]) by kanga.kvack.org (Postfix) with SMTP id B8AC16B003B for ; Fri, 14 Jun 2013 05:32:01 -0400 (EDT) Date: Fri, 14 Jun 2013 11:31:59 +0200 From: Michal Hocko Subject: Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely Message-ID: <20130614093159.GB10084@dhcp22.suse.cz> References: <1371195041-26654-1-git-send-email-liwanp@linux.vnet.ibm.com> <20130614090217.GA7574@dhcp22.suse.cz> <20130614092952.AAED5E0090@blue.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130614092952.AAED5E0090@blue.fi.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: "Kirill A. Shutemov" Cc: Wanpeng Li , Andrew Morton , David Rientjes , Fengguang Wu , Rik van Riel , Andrew Shewmaker , Jiri Kosina , Namjae Jeon , Jan Kara , Tejun Heo , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Fri 14-06-13 12:29:52, Kirill A. Shutemov wrote: > Michal Hocko wrote: > > On Fri 14-06-13 15:30:34, Wanpeng Li wrote: > > > There is just one caller in fs-writeback.c call wb_do_writeback and > > > current codes unnecessary export it in header file, this patch fix > > > it by changing wb_do_writeback to static function. > > > > So what? > > > > Besides that git grep wb_do_writeback tells that > > mm/backing-dev.c: wb_do_writeback(me, 0); > > > > Have you tested this at all? > > Commit 839a8e8 removes that. OK, I didn't check the most up-to-date tree. Sorry about this confusion. I do not object to cleanups like this but it should be clear they are cleanups. "fix wb_do_writeback exported unsafely" sounds like a fix rather than a cleanup > > > Signed-off-by: Wanpeng Li > > Acked-by: Kirill A. Shutemov > > -- > Kirill A. Shutemov > > -- > 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/ . > Don't email: email@kvack.org -- Michal Hocko SUSE Labs -- 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/ . Don't email: email@kvack.org