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:
parent
141a0ab012
commit
38a3e0bd6b
@ -842,8 +842,7 @@ void MockFS::read_request(mockfs_buf_in &in) {
|
|||||||
* request,including header, even though fuse_out_header.len excludes
|
* request,including header, even though fuse_out_header.len excludes
|
||||||
* the size of the header.
|
* the size of the header.
|
||||||
*/
|
*/
|
||||||
ASSERT_TRUE(res == static_cast<ssize_t>(sizeof(in.header.len)) ||
|
ASSERT_TRUE(res == static_cast<ssize_t>(in.header.len) || m_quit);
|
||||||
m_quit);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MockFS::write_response(const mockfs_buf_out &out) {
|
void MockFS::write_response(const mockfs_buf_out &out) {
|
||||||
|
Loading…
Reference in New Issue
Block a user