Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 21:49:42 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a28611cfc8bc - stable/13 - fusefs: delete a redundant getnanouptime
Message-ID:  <202112142149.1BELngni097026@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=a28611cfc8bcea938a5f8f3e322924753d399a90

commit a28611cfc8bcea938a5f8f3e322924753d399a90
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-11-28 23:05:30 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-12-14 21:49:18 +0000

    fusefs: delete a redundant getnanouptime
    
    It's been redundant since SVN r346060 added another getnanouptime just
    above.
    
    (cherry picked from commit 8fbae6c7bd63fca64b898843f63cb24269a7dd46)
---
 sys/fs/fuse/fuse_vnops.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
index 9aafbad990c5..22f1733dd10b 100644
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -1286,7 +1286,6 @@ fuse_vnop_lookup(struct vop_lookup_args *ap)
 			break;
 
 		case ENOENT:		/* negative match */
-			getnanouptime(&now);
 			if (timespeccmp(&timeout, &now, <=)) {
 				/* Cache timeout */
 				cache_purge_negative(dvp);



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