Re: [PATCH] proc: fix incorrect pde_is_permanent check

2021-03-18 Thread Christian Brauner
On Thu, Mar 18, 2021 at 12:26:33PM +, Colin King wrote: > From: Colin Ian King > > Currently the pde_is_permanent check is being run on root multiple times > rather than on the next proc directory entry. This looks like a copy-paste > error. Fix this by replacing root with next. > >

[PATCH] proc: fix incorrect pde_is_permanent check

2021-03-18 Thread Colin King
From: Colin Ian King Currently the pde_is_permanent check is being run on root multiple times rather than on the next proc directory entry. This looks like a copy-paste error. Fix this by replacing root with next. Addresses-Coverity: ("Copy-paste error") Fixes: d919b33dafb3 ("proc: faster