[RHEL7,COMMIT] fuse kio: invalid assertion

Submitted by Konstantin Khorenko on June 4, 2018, 8:05 p.m.

Details

Message ID 201806042005.w54K5p0H005104@finist_ce7.work
State New
Series "fuse kio: invalid assertion"
Headers show

Commit Message

Konstantin Khorenko June 4, 2018, 8:05 p.m.
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@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@virtuozzo.com>
    
    Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;