git: a28611cfc8bc - stable/13 - fusefs: delete a redundant getnanouptime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 21:49:42 UTC
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);