Re: [PATCH] hfs/hfsplus: use WARN_ON for sanity check

2021-03-23 Thread Christian Brauner
On Mon, Mar 22, 2021 at 11:32:40PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc warns about a couple of instances in which a sanity check > exists but the author wasn't sure how to react to it failing, > which makes it look like a possible bug: > > fs/hfsplus/inode.c: In function

[PATCH] hfs/hfsplus: use WARN_ON for sanity check

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann gcc warns about a couple of instances in which a sanity check exists but the author wasn't sure how to react to it failing, which makes it look like a possible bug: fs/hfsplus/inode.c: In function 'hfsplus_cat_read_inode': fs/hfsplus/inode.c:503:37: error: suggest braces