[Devel] [PATCH RHEL7 COMMIT] fuse kio: invalid assertion

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 4 23:05:51 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-693.21.1.vz7.50.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.21.1.vz7.50.4
------>
commit 5a62f4c43bcf84e10e64852692341d2595484da9
Author: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date:   Mon Jun 4 23:05:51 2018 +0300

    fuse kio: invalid assertion
    
    rpc address _is_ changed while rpc is still connected.
    User space have the same assertion commented from day zero.
    No idea why it was uncommented here.
    
    Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index 2c7bd74e5784..9977661b1e11 100644
--- a/fs/fuse/kio/pcs/pcs_rpc.c
+++ b/fs/fuse/kio/pcs/pcs_rpc.c
@@ -1134,7 +1134,7 @@ void pcs_rpc_set_peer_id(struct pcs_rpc * ep, PCS_NODE_ID_T * id, u8 role)
 
 int pcs_rpc_set_address(struct pcs_rpc * ep, PCS_NET_ADDR_T * addr)
 {
-	BUG_ON(ep->state != PCS_RPC_UNCONN);
+//	BUG_ON(ep->state != PCS_RPC_UNCONN);
 
 	ep->addr = *addr;
 	return 0;


More information about the Devel mailing list