Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965132Ab3HHNjH (ORCPT ); Thu, 8 Aug 2013 09:39:07 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43618 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964960Ab3HHNjE (ORCPT ); Thu, 8 Aug 2013 09:39:04 -0400 Date: Thu, 8 Aug 2013 15:39:02 +0200 From: David Sterba To: Sergei Trofimovich Cc: linux-btrfs@vger.kernel.org, Chris Mason , Josef Bacik , linux-kernel@vger.kernel.org, Sergei Trofimovich Subject: Re: [PATCH 3/7] btrfs: cleanup: mark 'btrfs_write_and_wait_marked_extents' as static Message-ID: <20130808133902.GU5284@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Sergei Trofimovich , linux-btrfs@vger.kernel.org, Chris Mason , Josef Bacik , linux-kernel@vger.kernel.org, Sergei Trofimovich References: <1375911803-17318-1-git-send-email-slyich@gmail.com> <1375911803-17318-4-git-send-email-slyich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375911803-17318-4-git-send-email-slyich@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 34 On Thu, Aug 08, 2013 at 12:43:19AM +0300, Sergei Trofimovich wrote: > From: Sergei Trofimovich > > Found by uselex.rb: > > btrfs_write_and_wait_marked_extents: [R]: exported from: fs/btrfs/btrfs.o fs/btrfs/transaction.o fs/btrfs/built-in.o > > Signed-off-by: Sergei Trofimovich > --- > fs/btrfs/transaction.c | 4 ++-- > fs/btrfs/transaction.h | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c > index d58cce7..ff891d2 100644 > --- a/fs/btrfs/transaction.c > +++ b/fs/btrfs/transaction.c > @@ -837,8 +837,8 @@ int btrfs_wait_marked_extents(struct btrfs_root *root, > * them in one of two extent_io trees. This is used to make sure all of > * those extents are on disk for transaction or log commit > */ > -int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, > - struct extent_io_tree *dirty_pages, int mark) > +static int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, > + struct extent_io_tree *dirty_pages, int mark) You may want to run the output through checkpatch.pl and fix obvious style violations (line too long). david -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/