Author: mjg
Date: Thu Aug  6 04:19:47 2020
New Revision: 363938
URL: https://svnweb.freebsd.org/changeset/base/363938

Log:
  cache: plug unititalized variable use
  
  CID:  1431128

Modified:
  head/sys/kern/vfs_cache.c

Modified: head/sys/kern/vfs_cache.c
==============================================================================
--- head/sys/kern/vfs_cache.c   Thu Aug  6 01:49:00 2020        (r363937)
+++ head/sys/kern/vfs_cache.c   Thu Aug  6 04:19:47 2020        (r363938)
@@ -3456,8 +3456,7 @@ cache_fplookup_final_withparent(struct cache_fpl *fpl)
                        vput(dvp);
                else
                        vrele(dvp);
-               cache_fpl_aborted(fpl);
-               return (error);
+               return (cache_fpl_aborted(fpl));
        }
 
        error = cache_fplookup_final_child(fpl, tvs);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to