summaryrefslogtreecommitdiffstats
path: root/fs/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/tftp.c')
-rw-r--r--fs/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tftp.c b/fs/tftp.c
index 43293272d7..1f36c56511 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -29,7 +29,6 @@
#include <libgen.h>
#include <fcntl.h>
#include <getopt.h>
-#include <fs.h>
#include <init.h>
#include <linux/stat.h>
#include <linux/err.h>
@@ -716,6 +715,7 @@ static int tftp_probe(struct device_d *dev)
}
sb->s_op = &tftp_ops;
+ sb->s_d_op = &no_revalidate_d_ops;
inode = tftp_get_inode(sb, NULL, S_IFDIR);
sb->s_root = d_make_root(inode);