Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4056685ybf; Tue, 3 Mar 2020 19:02:45 -0800 (PST) X-Google-Smtp-Source: ADFU+vuq2g/qYw4sqq/k25ZiKHmz7gYXRkJXWWv+pY+yz3X0canB/RRGpzK1KCKSJu5IK631vU2Z X-Received: by 2002:a9d:6050:: with SMTP id v16mr787980otj.151.1583290965322; Tue, 03 Mar 2020 19:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583290965; cv=none; d=google.com; s=arc-20160816; b=DNYsO/NsqDCGQ9jDquaT2tKk2A9t/KpWNj2Os9dIaPsk8Eq6FThS8VjTsOg8Q6ddyS ooe06Ssmjkg3JX5HcuBRoV5tWbuga3U5Mk/TQNsNg/Y6mTGPpw4oIaHd4vloWHJYFb89 w6zOObeFQ3WifC1ae3xtIVugvWbkhYWvxJr4EeV9hngk/YvteLzUBglRqD56iNm14mHV hP1CNc3wbBc19FzUX3jsK+vRxOGNX2OU0iKoP/XefNkzcYTenDRLP+iIvL5ibLvqG5Yq HJhJ806/+YxejSl55quOP44QLXyG84KWhOsy76TyPoOSdJRBLoZudMSOBLvnhAFzkJL4 uu6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4Tp8i81rBL0bV3dcOPyhC4/n91xDQC95NgC/GnLFqIE=; b=ml1QokNTh+IGNEfoNTZ/iYPNGb55wEqa5FUlwZ+cn/N2+8K5esYvOpfJH2VFeX+vYC Can4z/F0XgUEdKjoxDKDbN7fVjahsnzlTyoUwMZD/k+MYW1L1rT9hNARR3QOgj3doGOo TDPSgNVbqFFCQHnlLWbMA6S4WeqYHHL6TCsMFUVRC3VMafy82LtTeHjlY/jklKfh6Vji g4218JFBiQ4k3Kbe+Zajh48C1zeICsBb3eejutLjyEm2IEEFF+hZymccAiI0xYyjWOy3 xMTCiD5Ln8K0x19PYSwGaPDx1a4RsOsL6HfzV9t9Pv/Yw2tTgd8fbgoYuaNf/9psKcp9 +/Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CxgAymCp; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si345816oie.15.2020.03.03.19.02.33; Tue, 03 Mar 2020 19:02:45 -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=@mediatek.com header.s=dk header.b=CxgAymCp; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387664AbgCDDCD (ORCPT + 99 others); Tue, 3 Mar 2020 22:02:03 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:9309 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387459AbgCDDCC (ORCPT ); Tue, 3 Mar 2020 22:02:02 -0500 X-UUID: 7856970c358b43a187969ef89e421b08-20200304 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=4Tp8i81rBL0bV3dcOPyhC4/n91xDQC95NgC/GnLFqIE=; b=CxgAymCpfBAymfMsr39rMLtgYcnuIcg5WQyM3Gs6dNOoCBN9zmQHLdJ/v6v8+X/ESqtDqlKP0ArTxvBRH/l3hUxhCjufUxmPjYIZ8tVZbHFwZw1KgNeCc14rfYGrzJvsEy1rj6Kvf5ilnJUOeT5asNRPBuf5K4khzvdEhmOziek=; X-UUID: 7856970c358b43a187969ef89e421b08-20200304 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 687635306; Wed, 04 Mar 2020 11:01:58 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 4 Mar 2020 11:00:49 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 4 Mar 2020 11:02:36 +0800 From: To: CC: , , , , , , Light Hsieh Subject: [PATCH v1 0/3] set ro attribute of block device according to write-protection status Date: Wed, 4 Mar 2020 11:01:52 +0800 Message-ID: <1583290915-9858-1-git-send-email-light.hsieh@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KKioqIEJMVVJC IEhFUkUgKioqDQoNCkxpZ2h0IEhzaWVoICgzKToNCiAgbW1jOiByZWNvcmQgd3BfZ3JwX3NpemUg YW5kIGJvb3Rfd3Bfc3RhdHVzDQogIG1tYzogY2hlY2sgd3JpdGUtcHJvdGVjdGlvbiBzdGF0dXMg ZHVyaW5nIEJMS1JPU0VUIGlvY3RsDQogIGJsb2NrOiBzZXQgcGFydGl0aW9uIHJlYWQvd3JpdGUg cG9saWN5IGFjY29yZGluZyB0byB3cml0ZS1wcm90ZWN0aW9uDQogICAgc3RhdHVzDQoNCiBibG9j ay9pb2N0bC5jICAgICAgICAgICAgIHwgICAyICstDQogYmxvY2svcGFydGl0aW9uLWdlbmVyaWMu YyB8ICAxMCArKysNCiBkcml2ZXJzL21tYy9jb3JlL2Jsb2NrLmMgIHwgMjE3ICsrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysNCiBkcml2ZXJzL21tYy9jb3JlL21t Yy5jICAgIHwgIDE2ICsrKysNCiBpbmNsdWRlL2xpbnV4L2Jsa2Rldi5oICAgIHwgICAxICsNCiBp bmNsdWRlL2xpbnV4L21tYy9jYXJkLmggIHwgICAzICsNCiBpbmNsdWRlL2xpbnV4L21tYy9tbWMu aCAgIHwgICAyICsNCiA3IGZpbGVzIGNoYW5nZWQsIDI1MCBpbnNlcnRpb25zKCspLCAxIGRlbGV0 aW9uKC0pDQoNCi0tIA0KMS44LjEuMS5kaXJ0eQ0K