Commit c2d342c5 authored by Alan Somers's avatar Alan Somers
Browse files

fusefs: better debugging for FUSE_RENAME in the tests

MFC after:	2 weeks
parent 60a82774
......@@ -290,6 +290,15 @@ void MockFS::debug_request(const mockfs_buf_in &in, ssize_t buflen)
in.body.release.flags,
in.body.release.lock_owner);
break;
case FUSE_RENAME:
{
const char *src = (const char*)in.body.bytes +
sizeof(fuse_rename_in);
const char *dst = src + strlen(src) + 1;
printf(" src=%s newdir=%" PRIu64 " dst=%s",
src, in.body.rename.newdir, dst);
}
break;
case FUSE_SETATTR:
if (verbosity <= 1) {
printf(" valid=%#x", in.body.setattr.valid);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment