From: Miao Xie Subject: Re: [PATCH RESEND] vfs: re-implement writeback_inodes_sb(_nr)_if_idle() and rename them Date: Thu, 10 Jan 2013 11:24:15 +0800 Message-ID: <50EE345F.1090600@cn.fujitsu.com> References: <50D2E3DF.4010105@cn.fujitsu.com> <20121228143338.GW14116@twin.jikos.cz> Reply-To: miaox@cn.fujitsu.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Linux Fsdevel , Linux Btrfs , Linux Ext4 , Christoph Hellwig , Kamal Mostafa , Al Viro To: dsterba@suse.cz Return-path: In-Reply-To: <20121228143338.GW14116@twin.jikos.cz> Sender: linux-btrfs-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Fri, 28 Dec 2012 15:33:38 +0100, David Sterba wrote: > On Thu, Dec 20, 2012 at 06:09:35PM +0800, Miao Xie wrote: >> --- a/fs/fs-writeback.c >> +++ b/fs/fs-writeback.c >> @@ -1314,7 +1314,6 @@ void writeback_inodes_sb_nr(struct super_block *sb, >> bdi_queue_work(sb->s_bdi, &work); >> wait_for_completion(&done); >> } >> -EXPORT_SYMBOL(writeback_inodes_sb_nr); > > Why do you remove the export? writeback_inodes_sb is exported as well. As you said below, there is no user now. > Originally the _nr variant has been introduced for btrfs > (3259f8bed2f0f57c2fdcdac1b510c3fa319ef97e) and there are no other users > now, so from that point it would make sense. From the other side, the > change is not strictly necessary for this patch and keeps the writeback > API a bit more flexible. I vote for keeping it. Maybe you are right, I'll send out a new one. > Otherwise (for the btrfs part), > Tested-by: David Sterba Thanks for your test and review. Miao