[PATCH 7/8] fs: nfs: don't maintain nfs dentries in dcache

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

 



nfs dentries may change underneath barebox, so do not maintain them in
the dcache.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 fs/nfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/nfs.c b/fs/nfs.c
index 26ff354c37..a5fc6467fb 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -1396,6 +1396,7 @@ static int nfs_probe(struct device_d *dev)
 	free(tmp);
 
 	sb->s_op = &nfs_ops;
+	sb->s_d_op = &no_revalidate_d_ops;
 
 	inode = new_inode(sb);
 	nfs_set_fh(inode, &npriv->rootfh);
-- 
2.26.0.rc2


_______________________________________________
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