Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2759896imm; Thu, 24 May 2018 15:40:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoj21wlXr8R/hm1njp1silOYQRhMslyLQeV6Vd+K2+/gNP+L5qOi4JX36p2gRxk78jsHBRs X-Received: by 2002:a63:6f89:: with SMTP id k131-v6mr7350505pgc.237.1527201606003; Thu, 24 May 2018 15:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527201605; cv=none; d=google.com; s=arc-20160816; b=TCBgwDlXt+knSTHLmJpD4/m9tVYlZmfcTsFO5azj0N5MHXjkVqZPBjD1s3lJzzqyiI uF+NFbs8YVhQWO4/SEkV6zs2vVBpzo+HeX/XkXvXVmIEp8Uo1RmawTR7crg9WSySXsEk o5Mxeo+2pahecqmfDSp+zMVEZ2nupF473KE4oq5ANQzBYX08/xB6KgiE5cGPq2QwYNEP mzybs53ImIaZ1r94bIz+5OBNbmHQaXsMppKL1eLGry3Sbpy+Hko+uiKbHxcAxEZ5oPpQ UVSjAlzHVDQT38BfPviYU1GeqIPBHA7uEUsGol++1qnftwUwxFFhDOIuAX2kqewvs7s6 fZVA== 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=5HS5yNw2rvUtyqEIXT3lONqYxnDWDG7JJ8CIi4VvMfo=; b=CfnHnS+qmzJIfEDHpfVDfwQXAzdda2zhtFKFkY+Chcnez0roFYzOjoUBWQtz/G5aFO qXtIhJbytM1WQ/Mf9uIHO3d1SDHGUV1y7SWxsKHd682O5Dty3bQyVPhBJ9DIxGOQvi4S 7Q/NxcVogx57hFDyuZNjyI/G3k3drRlqM+pfbeYN7vvd6kjybiq4rf+VUV5ajTNcTTlR VxzmgQkVqYZ0kbeigDJb4ZwXtKih37Jig+lqdIqMptqSOLdqWAqQ9QYrnurHb7nx+1LF /1V0hkpMX5vpwjaeXDBSjKnoewTaPm5uZw+/ajMjeKGztoM2Yo92Msh7T25v8zjtJV3r 4Tmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=l6QjrQHI; 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 g27-v6si10262096pgn.529.2018.05.24.15.39.50; Thu, 24 May 2018 15:40:05 -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=l6QjrQHI; 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 S965323AbeEXMr0 (ORCPT + 99 others); Thu, 24 May 2018 08:47:26 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:50939 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965191AbeEXMrV (ORCPT ); Thu, 24 May 2018 08:47:21 -0400 Received: by mail-it0-f68.google.com with SMTP id p3-v6so2171183itc.0 for ; Thu, 24 May 2018 05:47:20 -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=5HS5yNw2rvUtyqEIXT3lONqYxnDWDG7JJ8CIi4VvMfo=; b=l6QjrQHIhFlmY9l/mjZeFwOYt62QdIyYttBFkfmM3h0koZ0k3lSXNNSvaGIWY5JYmq jfGq3o4S9ePqigrj5BBROUWTwryiuY1i6nb087HloRgjz03VnvWPqIdCO6bEaeyb/nVn VqAYDrL0zjb5zf7ZdHdH+xuzKl8P0ORnoUumceeGn6xyucGndleGcH23yUVFdHzj/moh KMzNCT/mCWQj2YBP0+SGU2+dKoZMGl8vouz9QuIEPxLE+UOsPTd94VcgxRUPVq+WrHpS 2eYP1BQut7B+JQuh6p66LiraFOis+RAOMdolUv7XESN3HivvZentIZwrxRgzbwQwPf3v Jb/g== 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=5HS5yNw2rvUtyqEIXT3lONqYxnDWDG7JJ8CIi4VvMfo=; b=fXcQO0+RCpN523MLhOrbeUvq6c8Z2A7MX9L0bRcAXosoVCS/xGg1AVLDZbrhlKtywG qwgEKS68LDR992w+JmogbIlRvl0us5h0Z4d/1rsxbNgBsuLgror9IptdqpOTrRlR/njB usIGuup5iv/zsdpB3k7IEuDynubpN6j9WRWKawovg36hohF5w+jBHHaGKGcS0y1iDzIA CylzbdJ71qcLM3DiXW3IXxUus5Zrtkbx34dldS4H51kyk4ExSJSgjhXo9D2L3LLznv+K bqJGI1TmS2HZQphPNRCqpvfYJ4hTebZsnQeyW9fxJB7MvrLsdrUD2R0NRGQ3sKArZHdL 6DYQ== X-Gm-Message-State: ALKqPwemn0sI50pWXHo7qpsEVQo6nxBw19Q0+NSsyqIUIFpiUZcUoGwO tQ3qL/WQ85sJOyrzUAs5GsF5TA== X-Received: by 2002:a24:1f4a:: with SMTP id d71-v6mr9159997itd.53.1527166040326; Thu, 24 May 2018 05:47:20 -0700 (PDT) Received: from [192.168.1.211] (107.191.0.158.static.utbb.net. [107.191.0.158]) by smtp.gmail.com with ESMTPSA id l186-v6sm2302767itl.3.2018.05.24.05.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 05:47:18 -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> From: Jens Axboe Message-ID: <539cc400-28d7-66df-eb24-77fe95d617a2@kernel.dk> Date: Thu, 24 May 2018 06:47:11 -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: <56ee8810463b6c537ca0c10c9f82e6d922acd1f1.camel@perches.com> 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/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... -- Jens Axboe