Re: [PATCH] staging: erofs: harden inode lookup for 32-bit platforms

From: Dan Carpenter
Date: Thu Oct 11 2018 - 04:44:37 EST


On Tue, Oct 09, 2018 at 10:07:13PM +0800, Gao Xiang wrote:
> This patch introduces inode hash function, test and set callbacks,
> and iget5_locked to find the right inode for 32-bit platforms.
>

The way I read this changelog, we're trying to deal with corrupt file
systems? Is that correct? Presumably in the current code it could lead
to a Oops or something?

regards,
dan carpenter