Currently we do not revalidate dentries. I knew this is not correct for
network filesystems, but as it turned out it is also not correct for
devfs. In devfs files can be created/removed without the fs layer
noticing, so have to check if a dentry is still valid before using it.

Sascha Hauer (2):
  fs: implement d_revalidate
  fs: devfs: implement d_revalidate hook

 fs/devfs.c             | 27 +++++++++++++++++++++++++++
 fs/fs.c                | 37 ++++++++++++++++++++++++++++++++++++-
 include/linux/dcache.h |  3 +++
 3 files changed, 66 insertions(+), 1 deletion(-)

-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to