From 98a37cc7fb2d28ebfc6f30cfafddb195740296c3 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 00:14:54 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 8773fef9..e22ef02b 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -146,7 +146,7 @@ namespace l nonstd::optional basepath; basepath = cache.find(fusepath_); - if(basepath == NULL) + if(!basepath) { rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1)