Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4063802ybf; Tue, 3 Mar 2020 19:12:48 -0800 (PST) X-Google-Smtp-Source: ADFU+vvAf80R6E5l77g0sii3c3kn9Kv7KiFhAggNzVA9sT5TZqmT2Kf/+XXnyZ9TRTeeG+plB6XA X-Received: by 2002:a9d:4c87:: with SMTP id m7mr751307otf.303.1583291568352; Tue, 03 Mar 2020 19:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583291568; cv=none; d=google.com; s=arc-20160816; b=gYjcwHDq/M0PF1SZokHC20bUUF+dU8FPEzaqJeXWfTilY065GfjmNsVcLiN9sUC6gZ UMpAt4yCNwmhGShoB4y6pUwgS+kamQ6YHrNTH0XyMkqFGb+G4oMPejmnNHljdedLAQXd hIGf6ZTkM672tryFQ/N5c/tXbh4+6wqZehzG/20aXDdKcz1Eg3iIYmkvLpGBQtp3h/rz cTJVDUpBh2hsLoMivqveOdq2pAirdGqTJXuUF3t05eck2S/GU+V8fi5WODwUH+Vgy5w9 Z7DUrnEx3B1SOOc9K0V6AwKME1ia9J7I5oxu/vywoo3druUwPqoAqxb/xyQii3S4XEC+ 0KYw== 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=ms2wWqOqtGBB8GyMpY5bqE7MNpxudDVwWEf/7/Mb/Dg=; b=pp6mNsvERvPktQ+MQTaQx5hkO7ZFsNvX5uoYMMOUjoOwqo9QaUIejzoBgX5H5NDE0G xteRqNwECpZQuOnFn4r+302vlwh4w1TumAIpM9bx+dqWgpRk+c+oE8L+PFKMY7dz4tGZ YT7qywmKem11GLJeVVduwMC/aWiSIVYWhkmr35kX/JJy5AgBssnhvxEhbjwilKnVCivO gHOfNvp15sGSfkiUpze5TLWbJ4vJCY/fWJUfYEiF58hzQOJmSiehLSrVThhoSHUS9PfW CVjrXReVzULN6M3jMgD/EB72i9JDrF3rDlOU1wmeVYeSE25AS7ezKdxGXFXD/Sq6yb8v /MgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GsivpPa1; 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 74si334146otd.45.2020.03.03.19.12.36; Tue, 03 Mar 2020 19:12:48 -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=GsivpPa1; 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 S2387613AbgCDDM2 (ORCPT + 99 others); Tue, 3 Mar 2020 22:12:28 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:38104 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387432AbgCDDM1 (ORCPT ); Tue, 3 Mar 2020 22:12:27 -0500 X-UUID: 51ce0c828caa4f2a967070d0ecd4d841-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=ms2wWqOqtGBB8GyMpY5bqE7MNpxudDVwWEf/7/Mb/Dg=; b=GsivpPa1gd+n9L+zvhxhuDHEZPzzY6VfrVZF4NlkkEpgwzJeCa3vmR7qD6KeaMtxWV9RseYD9f/0vyb8ZDH1+nLLf2IxqEMxn9urKSb1s3uuW5011XVpoZNkOEuj/I/1M17DbJmicgd42X7yw3s6y23CxHZF0g2yc/tGa50KRRY=; X-UUID: 51ce0c828caa4f2a967070d0ecd4d841-20200304 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1005341639; Wed, 04 Mar 2020 11:12:20 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 4 Mar 2020 11:09:37 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 4 Mar 2020 11:09:47 +0800 From: To: CC: , , , , , , Light Hsieh Subject: [RESEND PATCH v1 0/3] set ro attribute of block device according to write-protection status Date: Wed, 4 Mar 2020 11:12:14 +0800 Message-ID: <1583291537-15053-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: 258F618788D8BD34AD63C33AFEEC9AB93F696BD063FC16ED2CD906E508FB6E5F2000: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 RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KICBzZXQgcm8g YXR0cmlidXRlIG9mIGJsb2NrIGRldmljZSBhY2NvcmRpbmcgdG8gd3JpdGUtcHJvdGVjdGlvbiBz dGF0dXMNCg0KTGlnaHQgSHNpZWggKDMpOg0KICBtbWM6IHJlY29yZCB3cF9ncnBfc2l6ZSBhbmQg Ym9vdF93cF9zdGF0dXMNCiAgbW1jOiBjaGVjayB3cml0ZS1wcm90ZWN0aW9uIHN0YXR1cyBkdXJp bmcgQkxLUk9TRVQgaW9jdGwNCiAgYmxvY2s6IHNldCBwYXJ0aXRpb24gcmVhZC93cml0ZSBwb2xp Y3kgYWNjb3JkaW5nIHRvIHdyaXRlLXByb3RlY3Rpb24NCiAgICBzdGF0dXMNCg0KIGJsb2NrL2lv Y3RsLmMgICAgICAgICAgICAgfCAgIDIgKy0NCiBibG9jay9wYXJ0aXRpb24tZ2VuZXJpYy5jIHwg IDEwICsrKw0KIGRyaXZlcnMvbW1jL2NvcmUvYmxvY2suYyAgfCAyMTcgKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKw0KIGRyaXZlcnMvbW1jL2NvcmUvbW1jLmMg ICAgfCAgMTYgKysrKw0KIGluY2x1ZGUvbGludXgvYmxrZGV2LmggICAgfCAgIDEgKw0KIGluY2x1 ZGUvbGludXgvbW1jL2NhcmQuaCAgfCAgIDMgKw0KIGluY2x1ZGUvbGludXgvbW1jL21tYy5oICAg fCAgIDIgKw0KIDcgZmlsZXMgY2hhbmdlZCwgMjUwIGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24o LSkNCg0KLS0gDQoxLjguMS4xLmRpcnR5DQo=