[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160926171121.GE16983@twin.jikos.cz>
Date: Mon, 26 Sep 2016 19:11:21 +0200
From: David Sterba <dsterba@...e.cz>
To: Arnd Bergmann <arnd@...db.de>
Cc: Chris Mason <clm@...com>, Josef Bacik <jbacik@...com>,
David Sterba <dsterba@...e.com>, Jeff Mahoney <jeffm@...e.com>,
Qu Wenruo <quwenruo@...fujitsu.com>,
Filipe Manana <fdmanana@...e.com>,
Omar Sandoval <osandov@...com>,
Anand Jain <anand.jain@...cle.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: fix btrfs_no_printk stub helper
On Fri, Sep 23, 2016 at 06:05:21PM +0200, Arnd Bergmann wrote:
> The addition of btrfs_no_printk() caused a build failure when
> CONFIG_PRINTK is disabled:
>
> fs/btrfs/send.c: In function 'send_rename':
> fs/btrfs/ctree.h:3367:2: error: implicit declaration of function 'btrfs_no_printk' [-Werror=implicit-function-declaration]
>
> This moves the helper outside of that #ifdef so it is always
> defined, and changes the existing #ifdef to refer to that
> helper as well for consistency.
>
> Fixes: 47c57058ff2c ("btrfs: btrfs_debug should consume fs_info when DEBUG is not defined")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Reviewed-by: David Sterba <dsterba@...e.com>
Powered by blists - more mailing lists