svn commit: r364837 - head/sys/fs/fuse

Mateusz Guzik mjg at FreeBSD.org
Wed Aug 26 21:13:36 UTC 2020


Author: mjg
Date: Wed Aug 26 21:13:36 2020
New Revision: 364837
URL: https://svnweb.freebsd.org/changeset/base/364837

Log:
  fuse: unbreak after r364814
  
  Reported by:	kevans

Modified:
  head/sys/fs/fuse/fuse_vnops.c

Modified: head/sys/fs/fuse/fuse_vnops.c
==============================================================================
--- head/sys/fs/fuse/fuse_vnops.c	Wed Aug 26 20:56:05 2020	(r364836)
+++ head/sys/fs/fuse/fuse_vnops.c	Wed Aug 26 21:13:36 2020	(r364837)
@@ -1035,8 +1035,9 @@ fuse_vnop_lookup(struct vop_lookup_args *ap)
 		filesize = 0;
 	} else {
 		struct timespec now, timeout;
+		int ncpticks; /* here to accomodate for API contract */
 
-		err = cache_lookup(dvp, vpp, cnp, &timeout, NULL);
+		err = cache_lookup(dvp, vpp, cnp, &timeout, &ncpticks);
 		getnanouptime(&now);
 		SDT_PROBE3(fusefs, , vnops, cache_lookup, err, &timeout, &now);
 		switch (err) {


More information about the svn-src-head mailing list