[Devel] [PATCH RHEL7 COMMIT] fuse kio: Add debug printk into process_pcs_init_reply()

Konstantin Khorenko khorenko at virtuozzo.com
Tue Oct 9 12:00:03 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.14.4.vz7.72.4
------>
commit 389884c92229eeef9178c98a0a4f8c67d7ca365a
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Tue Oct 9 12:00:01 2018 +0300

    fuse kio: Add debug printk into process_pcs_init_reply()
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
    Reviewed-by: Pavel Butsykin <pbutsykin at virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
index 768da2800138..0d2ce6b8828c 100644
--- a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
+++ b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
@@ -125,6 +125,8 @@ static void process_pcs_init_reply(struct fuse_conn *fc, struct fuse_req *req)
 		kvfree(pfc);
 	}
 out:
+	if (fc->conn_error)
+		pr_err("Failed to initialize fuse kio\n");
 	kfree(info);
 	/*  We are called from	process_init_reply before connection
 	 * was not initalized yet. Do it now. */



More information about the Devel mailing list