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

Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to