Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 21:13:36 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364837 - head/sys/fs/fuse
Message-ID:  <202008262113.07QLDa35074288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008262113.07QLDa35074288>