Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 04:47:42 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351066 - head/tests/sys/fs/fusefs
Message-ID:  <201908150447.x7F4lg6W071134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Thu Aug 15 04:47:42 2019
New Revision: 351066
URL: https://svnweb.freebsd.org/changeset/base/351066

Log:
  fusefs: fix conditional from r351061
  
  The entirety of r351061 was a copy/paste error.  I'm sorry I've been
  comitting so hastily.
  
  Reported by:	rpokala
  Reviewed by:	rpokala
  MFC after:	2 weeks
  MFC-With:	351061
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D21265

Modified:
  head/tests/sys/fs/fusefs/mockfs.cc

Modified: head/tests/sys/fs/fusefs/mockfs.cc
==============================================================================
--- head/tests/sys/fs/fusefs/mockfs.cc	Thu Aug 15 03:42:15 2019	(r351065)
+++ head/tests/sys/fs/fusefs/mockfs.cc	Thu Aug 15 04:47:42 2019	(r351066)
@@ -842,8 +842,7 @@ void MockFS::read_request(mockfs_buf_in &in) {
 	 * request,including header, even though fuse_out_header.len excludes
 	 * the size of the header.
 	 */
-	ASSERT_TRUE(res == static_cast<ssize_t>(sizeof(in.header.len)) ||
-		    m_quit);
+	ASSERT_TRUE(res == static_cast<ssize_t>(in.header.len) || m_quit);
 }
 
 void MockFS::write_response(const mockfs_buf_out &out) {



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