Add ctx->pid to debug output
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 8 Nov 2010 18:43:41 +0000 (19:43 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Mon, 8 Nov 2010 18:43:41 +0000 (19:43 +0100)
ChangeLog
lib/fuse_lowlevel.c

index 9d669de3b303bf70548c3871ef0e12bb82349f98..a498daecf14d507ac8ea4be0237d7e7ca5ceb42c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,8 @@
        * Remove unnecessary restoring of current working directory in
        "fusermount -u"
 
+       * Add ctx->pid to debug output
+
 2010-10-14  Miklos Szeredi <miklos@szeredi.hu>
 
        * Use LTLIBICONV when linking libfuse.  This fixes building against
index c84a9d313efb8a6fd05be55adcfd0752123a3791..f30156fa2e536746c0f6c3f36b1778a8a407b75f 100644 (file)
@@ -1984,10 +1984,10 @@ static void fuse_ll_process_buf(void *data, const struct fuse_buf *buf,
 
        if (f->debug)
                fprintf(stderr,
-                       "unique: %llu, opcode: %s (%i), nodeid: %lu, insize: %zu\n",
+                       "unique: %llu, opcode: %s (%i), nodeid: %lu, insize: %zu, pid: %u\n",
                        (unsigned long long) in->unique,
                        opname((enum fuse_opcode) in->opcode), in->opcode,
-                       (unsigned long) in->nodeid, buf->size);
+                       (unsigned long) in->nodeid, buf->size, in->pid);
 
 
        err = EIO;