[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <01a43691-156b-4750-b070-07cb73fc3c8b@suse.com>
Date: Thu, 14 Mar 2019 11:18:44 +0200
From: Nikolay Borisov <nborisov@...e.com>
To: Qu Wenruo <quwenruo.btrfs@....com>, Kangjie Lu <kjlu@....edu>
Cc: pakki001@....edu, Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: fix a NULL pointer dereference
On 14.03.19 г. 11:15 ч., Qu Wenruo wrote:
> Isn't assert() a bad idea for production build without assert() support?
As already discussed this is invariant of the code, if this invariant is
broken then in production builds we'd likely crash (which is good since
we want to understand why and not silently handle it). In debug builds
the assert will be triggered.
Powered by blists - more mailing lists