diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-03-30 10:36:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-03-30 11:08:46 +0200 |
commit | 9d37fa6736cb8e2e8c8bef218512bd16ea48c1e6 (patch) | |
tree | 4010d2e2f5ba926f685dd1c649062ec6e97c1ddf /fs/nfs.c | |
parent | 5330e7865ed615f9782c26c9d35196ca1a3aa64c (diff) | |
download | barebox-9d37fa6736cb8e2e8c8bef218512bd16ea48c1e6.tar.gz barebox-9d37fa6736cb8e2e8c8bef218512bd16ea48c1e6.tar.xz |
fs: nfs: don't maintain nfs dentries in dcache
nfs dentries may change underneath barebox, so do not maintain them in
the dcache.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/nfs.c')
-rw-r--r-- | fs/nfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |