[PATCH 0/2] fs: add revalidating of dentries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux