Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4053353ybf; Tue, 3 Mar 2020 18:58:01 -0800 (PST) X-Google-Smtp-Source: ADFU+vtN5vxSQl4K7zsI68dlAQdsFb/FbTzcoFWkbK3tLaM6ZvlFpxjgxQW1/D/4CgveijUIYkkk X-Received: by 2002:a05:6830:4a6:: with SMTP id l6mr784615otd.61.1583290681628; Tue, 03 Mar 2020 18:58:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583290681; cv=none; d=google.com; s=arc-20160816; b=Usun5n2wgzUXad4A44WWILzEI8l3puwOS4uiJpmwlIVAcj6ZQVTd5BRPfgnPaqmkRj G4T7apFimmbVpRGOviS0cO/B0xL0MgMJk5wz27dRdAWFCYq61BgJeSSB3Y0A6u9A7GeO OXpU2JwchUWKO2tMyVi/U7WxC79AONRMwWgp7/V4f8Ogv7hf2lM/pTrQQm6MCvDKRBIu 2tFQwP4zOGvew1jwOTtIrBS9k41MRl2E2N/A+8IlIEnFbb0fPg3Oaiv2Rcc6/9agz9cM tUEXAaeKSS76Qx/5YkOJZpvGFolhLkjD8vrz19Ag/OiyjDKbQF611JrYgRHhPRKFPsVo ldnA== 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=V+HL+OZBmB1g+cWi1sdooRzGoeme9jXGYJQHNZ5W57HyerpbR7jPgdM+UTdXqEWDXb oknpnOkbnVGGFKDJRSc8mcQlz8/NhUjaqybOhVej/S1ZmjFJvbBoVjRiSr0VoQNV6xWR 0QCLW3aDzJpxt2m8NErNVQYU8OegL5EESDuPdafmLTTF/BhfEgca7H0g8lGng2rTATWu qovSvLSVumr/4Uu3V4omDj0G/FItd2zt1UxgNHq3G/xrN12M01vhF2MjyOwrMdCqFo8r 35AM3LQl8pejwoWcu581IO0luad2Bm65vTQU/pCAmYHco5hTA77WiJ4yTXrTb4lwUNaX 73FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bRdeliBM; 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 e26si302490otk.251.2020.03.03.18.57.49; Tue, 03 Mar 2020 18:58:01 -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=bRdeliBM; 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 S2387610AbgCDC5n (ORCPT + 99 others); Tue, 3 Mar 2020 21:57:43 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:45822 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387543AbgCDC5n (ORCPT ); Tue, 3 Mar 2020 21:57:43 -0500 X-UUID: 70527d2412e8458d932c019c061a2315-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=bRdeliBMsJYguedrqxZYnh7RXR6U15ACA4oD7raeOqem42as4vqXnGIny+kdUIm9mdVlIg5H1GYS2SYvDNOMywCSJsHWzNnEue/A2cVAsASg7ZLff8nfU/UNNXbkVxZq9cgLNHcx1GxCyOtvgE/7LcjCSMduX4v3IQFl8Rs0dC8=; X-UUID: 70527d2412e8458d932c019c061a2315-20200304 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1051547790; Wed, 04 Mar 2020 10:57:38 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 4 Mar 2020 10:56:28 +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 10:58:16 +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 10:57:32 +0800 Message-ID: <1583290655-7858-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-TM-SNTS-SMTP: E978A8E0381A4EFA74F0521E4BB358506639EA9010A2EA3F0FCB60A953564A212000:8 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