fs: tftp: don't maintain tftp dentries in dcache
Currently a negative dentry is cached whenever a non-existing file was
looked up over TFTP. Short of a barebox reset, there is no way to
invalidate that dentry, so barebox retries the look up.

Fix this by always reporting TFTP dentries as invalid in the d_revalidate
callback.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fe201c6 commit 47537564bf1d8a519ba5b5e729b2aa40a2f64942
@Ahmad Fatoum Ahmad Fatoum authored on 22 Aug 2019
Sascha Hauer committed on 23 Aug 2019
Showing 1 changed file
View
fs/tftp.c