ports/net/unfs3/files/patch-nfs.c
Robert Clausecker c6dc382584 net/unfs3: update to 0.9.23
ChangeLog: https://github.com/unfs3/unfs3/blob/master/NEWS

 * include AFS support for better serving of files from AFS filesystems
 * use svc_getreq_poll() when available
 * fix serving files larger than 4GB from Windows
 * better support for 64-bit systems
 * fixes for macOS and Windows support
 * fixes when cross compiling
 * better support for exporting FAT filesystems

PR:		267848
Reported by:	fuz@fuz.su (maintainer)
MFH:		2022Q4 (bugfix release)
2022-11-22 07:19:47 +01:00

11 lines
419 B
C

--- 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);
}