svn commit: r363938 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Thu Aug 6 04:19:48 UTC 2020


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);


More information about the svn-src-all mailing list