Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp598009imp; Thu, 21 Feb 2019 07:31:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IbRZ/P8+E4aLjUHEFwkkLYkwQP0a0INMfExq8mY0J3LnlAQwU51p13rQAt36+3oilmwinJ2 X-Received: by 2002:a63:f141:: with SMTP id o1mr35655369pgk.134.1550763095832; Thu, 21 Feb 2019 07:31:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550763095; cv=none; d=google.com; s=arc-20160816; b=std97q/+20ZLhAWx6zDAo0yTU8drhhExK937HkygZVALrWTmWbOa2tTAgAweFcsAoI rQcyMMGOjV5BkqkIjTtteF7KATIJUX2Sskhm3Qphx5CV4SgGZEi8ndNXrp4DU3PaS++5 +Z/tbh6HN2k61un8YISaJt5ODsiHCpjO2VZ7Pso/cg80mLrCzt4KpiwUf0RwsHBy09Ul I/WPfWokCzCENk7bnXW4FjkXfiC6Y1XtJ8UNjH5QwkyWAqFxjt9HSpNpJ2/gSLFBWz4l TfOilCS8JxTburUOzXpxZ3I9XwGE12GPfTNfiaXH5g6ymm24mSodOTmtcgrZk4tolXiZ dtXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=iXiQgktfeKi5lJ8Pdi8w6XgPPzUkJam9ZAVNwnWvbhc=; b=Ene7H3D5NvKIajmCLmEkff429UNv6FLMzSjKkn4uo6EMyRdHMa6iplXmBiHKvJNcI1 uZ7Gzz+flAhe8in3JCrYKfkEN8Wf9KmbY2Xyy3vk3lfNdgXz+rTtQJ+7+khwgQVfjn64 LTkc7x2g89ssRS2JhbVNKjAytGkmPdhq0Xi65DNNqm4u0JTDuLBVyPUILOtivZXTMnEQ a7A9xkuH9NLdcRUCtxzj9JdetGqgeGWu/rJzQj0O7x7H2wZEs3u22lxsx90RkSks5Ps2 wJimQej8Wz1+gqQa5pXDl/PB7NlQl9KPsQ+Dn+hoHpsPZ0+8HcBKE12yROxC7VQOjUlX Cz8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=rNzKRQSr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si19972664pgp.25.2019.02.21.07.31.20; Thu, 21 Feb 2019 07:31:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=rNzKRQSr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728084AbfBUPao (ORCPT + 99 others); Thu, 21 Feb 2019 10:30:44 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:58792 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfBUPao (ORCPT ); Thu, 21 Feb 2019 10:30:44 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x1LFSn6u034404; Thu, 21 Feb 2019 15:30:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=iXiQgktfeKi5lJ8Pdi8w6XgPPzUkJam9ZAVNwnWvbhc=; b=rNzKRQSrFaSODpMcBHz3hgdgTeTJeew3N9khqNVE/1Mbeq/UYvoUJSiotiUXStUQNSDv hpQMLBYH+1+/QRaXZViXg5J8GKbQA3ODMS0eQ4QF+5SIt8NMuDcg5hei9patcn9ioxPt 259XYEMu0DFGo6D7ehwP02pJNUhHtREpeUQHIWpVPx/LxOzRP/KNWYA6DsU9+Yhr23Cq KLic1KNh23bJTm3kAojN6wR2nJzY48/rPJZfdfUCUYbUWjEI3Wbba7+arfnFTiP+J+RW q2hdc3EcuZ4xnQpViNHngkhC5N9WAQk8X9BYjV5E1VS3757n9jdZOgnoZ4sLx9goGF69 dA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2qpb5rrmhx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Feb 2019 15:30:39 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x1LFUc4p008212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Feb 2019 15:30:38 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x1LFUcRE024030; Thu, 21 Feb 2019 15:30:38 GMT Received: from linux.cn.oracle.com (/10.182.69.106) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Feb 2019 07:30:37 -0800 From: Dongli Zhang To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: axboe@kernel.dk, jack@suse.cz Subject: [PATCH v2 0/2] loop: fix two issues introduced by prior commit Date: Thu, 21 Feb 2019 23:33:41 +0800 Message-Id: <1550763223-21764-1-git-send-email-dongli.zhang@oracle.com> X-Mailer: git-send-email 2.7.4 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9174 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=759 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902210112 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set fix two issues introduced by prior commit. [PATCH v2 1/2] loop: do not print warn message if partition scan is successful [PATCH v2 1/2] fixes d57f3374ba48 ("loop: Move special partition reread handling in loop_clr_fd()") to not always print warn message even when partition scan is successful. [PATCH v2 2/2] loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part() [PATCH v2 2/2] fixes 0da03cab87e6 ("loop: Fix deadlock when calling blkdev_reread_part()") to not set GENHD_FL_NO_PART_SCAN before partition scan when detaching loop device from the file. Changed since v1: * move the setting of lo->lo_state to Lo_unbound after partscan has finished as well (suggested by Jan Kara) Dongli Zhang