diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2019-08-22 08:51:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-23 09:37:59 +0200 |
commit | 47537564bf1d8a519ba5b5e729b2aa40a2f64942 (patch) | |
tree | 694f520449a0ba74a36911fbecbaf6714e9fa43c /include | |
parent | fe201c695af55df51ee414f89e29558abab97437 (diff) | |
download | barebox-47537564bf1d8a519ba5b5e729b2aa40a2f64942.tar.gz barebox-47537564bf1d8a519ba5b5e729b2aa40a2f64942.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions