blob: 7e736437b6b80e862ebac397ea49c06faa9bf21a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- nfs.c.orig 2022-11-17 12:27:52 UTC
+++ nfs.c
@@ -209,7 +209,7 @@ LOOKUP3res *nfsproc3_lookup_3_svc(LOOKUP3args * argp,
strcmp(argp->what.name, "..") == 0) {
fh = fh_comp_ptr(obj, rqstp, 0);
} else {
- gen = backend_get_gen(buf, FD_NONE, obj);
+ gen = backend_get_gen(buf, -1, obj);
fh = fh_extend(argp->what.dir, buf.st_dev, buf.st_ino, gen);
fh_cache_add(buf.st_dev, buf.st_ino, obj);
}
|