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
This commit is contained in:
Alan Somers 2019-08-15 04:47:42 +00:00
parent 141a0ab012
commit 38a3e0bd6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351066

View File

@ -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) {