Remove the BUG_ON check as itself is a bug. Fixes: #VSTOR-105104 https://virtuozzo.atlassian.net/browse/VSTOR-105104
Signed-off-by: Liu Kui <kui....@virtuozzo.com> --- fs/fuse/kio/pcs/pcs_mr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/fuse/kio/pcs/pcs_mr.c b/fs/fuse/kio/pcs/pcs_mr.c index 9d83782bd915..cbd3b440dd1b 100644 --- a/fs/fuse/kio/pcs/pcs_mr.c +++ b/fs/fuse/kio/pcs/pcs_mr.c @@ -193,7 +193,6 @@ void pcs_mrset_fini(struct pcs_mr_set *mrs) /*clean all registered MRs*/ xa_for_each(&mrs->mr_xa, idx, mr) { - BUG_ON(kref_read(&mr->ref) != 1); pcs_mr_put(mr); atomic_dec(&mrs->mr_num); } -- 2.39.5 (Apple Git-154) _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel