On Thu, Jan 21, 2021 at 03:42:31PM -0500, Johannes Weiner wrote:
On Mon, Oct 26, 2020 at 03:18:46PM +0000, Matthew Wilcox (Oracle)
wrote:
> Instead of checking the two counters (nrpages and nrexceptional), we
> can just check whether i_pages is empty.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy(a)infradead.org>
> Tested-by: Vishal Verma <vishal.l.verma(a)intel.com>
Acked-by: Johannes Weiner <hannes(a)cmpxchg.org>
Heh, I was looking for the fs/inode.c hunk here, because I remember
those BUG_ONs in the inode free path. Found it in the last patch - I
guess they escaped grep but the compiler let you know? :-)
Heh, I forget now! I think I did it that way on purpose, but now I
forget what that purpose was!