Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2948104imm; Thu, 24 May 2018 19:41:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoJ7xZtgzXlgoa4iu5tgkOjs2+nFRIVieEHDy02nDZ8g7SEBFN41IlyoVGYdMBu4nUt8/IR X-Received: by 2002:a17:902:ac8d:: with SMTP id h13-v6mr613227plr.338.1527216069510; Thu, 24 May 2018 19:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527216069; cv=none; d=google.com; s=arc-20160816; b=ZNdKZzH6AEx8hEBh8Zt7ZE0QpRIE/a5kz6NIEMORcxjbcBfSV5ao1XPooF+CqvbVa8 IRF06jGnJq8TRKfEhkielpbM7vCd2ubbd13//88E2HU8BT34NaaXslFRMcPKBpirGOrf P8tAsB5VOj+sAGnhgerUDjAjIUOgoE8IKsc3NJ83m9XqDOGsvl1d42I+s4tG07O87lna 7xyA3S1AncF2EISDXrB3skrPqoSAAkNPoXFhTN71CT09rHOdb7Iw6OdX9g6veIHsrsw3 cZjU1/xXvXw4B5P9/mDk/uqR/VYxTl/nJl/8NwpH+YqpbYneUPtOZm6kt8wddV+KskM+ u9lg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=KUYhJ/JNOA7ffdMoT/kvG83Ofpotly7Wlie33Xwixqc=; b=WjCbVvOvMkOKpXUfsrhwl4vq0P+KWVfRFsfj2XpsxAar01KZdsYLVwLTDnLIJs+b4g VQLUgCawH6sXWX3ATAUCeSawq3dok5Vl/5afeTotM/1NLDzMopqH2T4nEj9sJAYGFNuw 5mAtTdj/0YazdY8NgxBSJNveHlK/lf9Nevsz8CW7r6mkzedIo5m2fuBYtGjr3T1GUxUW ya1+HENtmwXKOYkjkd7sLLD4EL5lt/DLpKpn9eltVUIIN3CNljNaQkfS2lbOENP1AbeC WroWoB7n83Lq/91tXH3cfbqqunsc3R1v+Xt67UvAm1taBmiz+0vwwkMcAHYWgWMkCx2a XIiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=E0iY9HAY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12-v6si22111157pld.46.2018.05.24.19.40.54; Thu, 24 May 2018 19:41:09 -0700 (PDT) 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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=E0iY9HAY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969030AbeEXTkL (ORCPT + 99 others); Thu, 24 May 2018 15:40:11 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:43835 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967508AbeEXTkI (ORCPT ); Thu, 24 May 2018 15:40:08 -0400 Received: by mail-io0-f196.google.com with SMTP id t23-v6so3694022ioc.10 for ; Thu, 24 May 2018 12:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KUYhJ/JNOA7ffdMoT/kvG83Ofpotly7Wlie33Xwixqc=; b=E0iY9HAYqcbbOcObHFWXkaoy+7z/pAKrfcdlB16ydpI035M4aI0iM2cKZLcfa3uvnY HYOwSi8A9AqFDMk5CrRhs6JT4S/Gjx1zmNr2y0ATzmOeHGEZXeGLMGZSfZk/QdEzk+Ki 8IiHgC+g5isO5Oy0Ri5nHN47QzemlGNmp1bfOHOopi3Zyu5Pt5cKucfT3nGmM0nD+tXD +cmEVWztB1tBUBI7LUw1otYK8qn5x1boMnhGrWqTPTx21SjRr1rTpwscU1JdbTsEp6k2 3amunDrwxEz4F9SoLfF3JWkvb7VDnKFjOEEDU0kdTmUvCksY+w46SVl/W1p9YHMbobR6 KnRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KUYhJ/JNOA7ffdMoT/kvG83Ofpotly7Wlie33Xwixqc=; b=t2r5OL6NEr1BE3+Vrv6ejFjVk6gF21BbG6lBqatMcF/wEgTYXq2ZWZSaNVAjmwbTbN OdxjpU6NN2E3j6/D9MoSHtU8XBicz0noamHnTk4LClBZ5vcaClFBODLha6JWTQe41XOw nVYWsrEW20PNrUmUDKRLvOm0BVyLkLUvqrONwoPvGrXefReIYx/zOOhAmxmsULRZw3oc dRGW//24Soh6cKQgR+nySKCSrzac4xeAIUKYLFfaKMfuST3iIp2WFBL0fusJt7fgsDtk hP9kliWPfCGi2LWJ6X6FEhvAh+YEDsXFYQTH+sFCXhom477OQD+dRjy4mXAeHCicTVnR 2LVg== X-Gm-Message-State: ALKqPwcJSeYJoVFmbWENjFOExrM6vxocNkKeOuwPYlFNUP+PR2yJoKR+ sD88PlaB90OVQ+6ndGz5ALsPsQ== X-Received: by 2002:a6b:c410:: with SMTP id y16-v6mr6830745ioa.213.1527190807325; Thu, 24 May 2018 12:40:07 -0700 (PDT) Received: from [192.168.1.168] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id e98-v6sm2799064itd.18.2018.05.24.12.40.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 12:40:06 -0700 (PDT) Subject: Re: [PATCH] block drivers/block: Use octal not symbolic permissions To: Joe Perches , "Ed L. Cashin" , Philipp Reisner , Lars Ellenberg , Jiri Kosina , Josef Bacik , linux-block@vger.kernel.org, Ilya Dryomov , Sage Weil , Alex Elder , Philip Kelleher , "Michael S. Tsirkin" , Jason Wang , Konrad Rzeszutek Wilk , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Boris Ostrovsky , Juergen Gross Cc: linux-kernel@vger.kernel.org, drbd-dev@lists.linbit.com, nbd@other.debian.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org References: <5e97a292c1ba38a6b5a0caa271d85dc3de1b2aa7.1527105857.git.joe@perches.com> <6bf44255-145f-bf14-e254-860731ff9296@kernel.dk> <56ee8810463b6c537ca0c10c9f82e6d922acd1f1.camel@perches.com> <539cc400-28d7-66df-eb24-77fe95d617a2@kernel.dk> From: Jens Axboe Message-ID: <501407b0-ae9b-7943-0789-fb1c9959f7fe@kernel.dk> Date: Thu, 24 May 2018 13:40:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/24/18 7:01 AM, Joe Perches wrote: > On Thu, 2018-05-24 at 06:47 -0600, Jens Axboe wrote: >> On 5/23/18 4:35 PM, Joe Perches wrote: >>> On Wed, 2018-05-23 at 15:27 -0600, Jens Axboe wrote: >>>> On 5/23/18 2:05 PM, Joe Perches wrote: >>>>> Convert the S_ symbolic permissions to their octal equivalents as >>>>> using octal and not symbolic permissions is preferred by many as more >>>>> readable. >>>>> >>>>> see: https://lkml.org/lkml/2016/8/2/1945 >>>>> >>>>> Done with automated conversion via: >>>>> $ ./scripts/checkpatch.pl -f --types=SYMBOLIC_PERMS --fix-inplace >>>>> >>>>> Miscellanea: >>>>> >>>>> o Wrapped modified multi-line calls to a single line where appropriate >>>>> o Realign modified multi-line calls to open parenthesis >>>> >>>> Honestly, I see this as pretty needless churn. >>> >>> btw: >>> >>> There is currently a mixture of symbolic and octal >>> permissions uses in block and drivers/block >>> >>> ie: 94 octal and 146 symbolic uses. >>> >>> If this is applied, all would become octal. >> >> That does help justify the change. My main worry here is creating >> unnecessary conflicts, which is always annoying. But it's even more >> annoying when the change creating the conflict isn't really that >> important at all. Case in point, the patch doesn't apply to the >> for-4.18/block branch that it should go into... > > Done against most recent -next as it's basically impossible > to do anything against multiple private trees. > > Also, the script that generated the patch is in the changelog > so it's simple to rerun. Alright, applied, thanks. -- Jens Axboe