Received: by 10.192.165.156 with SMTP id m28csp872442imm; Fri, 13 Apr 2018 09:14:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx49E9NNf4CcpVkMDjjeX90Kjv25VYszquU4HG6aKVNqFJyOSN0+HBUAcB5vK8l2oaec9euBt X-Received: by 10.101.99.26 with SMTP id g26mr4626414pgv.442.1523636068143; Fri, 13 Apr 2018 09:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523636068; cv=none; d=google.com; s=arc-20160816; b=BxRx4JbXu9JaBlcjVjM5rmARW4BMH4mNO+jPvnfqHJ3PxjZkEJp9uVfFd/Mbkrihx0 ZVJdw11vJ0/ACDHk0mmmrErmoiMxCOmDdEG+bwPx+/Wxk8RmOb7NDyhSxBPv5n5kEKbJ WqGFm1J4vwyJLx9a/VpcKTE+QY06qMvS+bs6a6eVESU1O0IkqCVnAAklV0dLFUYtftVt ZkYpuGL0PJbz28b6P4LxhMiuY/4mCvayNrac5O6xTiR32VOccStyxSAszdXdx3zmD4bK dOk+Far3f+6+WiHjWG5k4ULuuKWn4zsLkTi5OX769wiV4009/7WMbgSz2MMMxOt/XolV ijTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=gUFd8NdHfoK6QD2SIr8dl1d2y2i504U6BtEy1flMYRM=; b=AQTfifpZJnpSIVCIfs02xe/TD9bwzAAbtx1JSzpZHs+jedgB5MmpR5BZ0bXhpNFUCp DT7Wndn9FdUGrSHBvdVpmGYQXCvXC6yxdw8DU1ki9xvBOoBXZc615NgwQ1NdBHYzs0jY 3EAbeQ63TM6DiRWtNpeSrvoqcR+wIxk9YyINo23vvcWVl71HmtpNQi7s2W3IiKCSVmqK FOn6a709dZcZjjv7Q2WAdhR/GuiVC3jfUr0m9R805hyLAAH6RfpoFDzMlE7bX/hG4dkT fYT4YpJ6wfSI3jqYYOUjjMC2yIjD2mJSz65FxUmtv4rqS2QG3byScg0Aptyhb4dRvnUo QPLg== ARC-Authentication-Results: i=1; mx.google.com; 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 y190si4338410pgy.530.2018.04.13.09.14.13; Fri, 13 Apr 2018 09:14:28 -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; 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 S1752842AbeDMQLv (ORCPT + 99 others); Fri, 13 Apr 2018 12:11:51 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:42013 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752790AbeDMQLt (ORCPT ); Fri, 13 Apr 2018 12:11:49 -0400 Received: by mail-wr0-f193.google.com with SMTP id s18so9492839wrg.9; Fri, 13 Apr 2018 09:11:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gUFd8NdHfoK6QD2SIr8dl1d2y2i504U6BtEy1flMYRM=; b=UJvZgBZAeoPcOSExyVwU0xiZbDLRI8q8p9u6MzjggEU0thzBKkzXsjgddcyhL+5USz Rx8IsUT4F+2Cy/M9L3wzmBJYx3kystZfEYX5zoKug0f/u4oQwapXIkgXEePSVzM2U0U+ eaOq6tfhjGYiai2CqhtZj2ciB2OwWpHZjykT1gFpt49yE1JsLyRl6gWLEOYnDEgBNJk5 fX/FMaIUY+zfFpsww+oU1/OS7M5PlqLwtFLp3C8HokrzDA+IS+i5H5RQxnEc4xFPfNDN v2IqWxuq+UE4yzg7sRQDZ92pifgbHpfKlxXDqaCre8U5jqD3v8JeGgDrNF3YnfhFnHqI kJ4A== X-Gm-Message-State: ALQs6tBYkrvZCdDVzp0UQ6lvuqg1HCizwDKg+cx69YFCuPTdelKXNLAD thGZYY7QILP+MszRv0Wt29rLOE6dF+w= X-Received: by 10.28.202.26 with SMTP id a26mr4373993wmg.120.1523635907812; Fri, 13 Apr 2018 09:11:47 -0700 (PDT) Received: from localhost.localdomain (u-086-c117.eap.uni-tuebingen.de. [134.2.86.117]) by smtp.gmail.com with ESMTPSA id k35sm5371772wre.55.2018.04.13.09.11.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 09:11:47 -0700 (PDT) From: Christian Brauner To: viro@zeniv.linux.org.uk, tglx@linutronix.de, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, pombredanne@nexb.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, serge@hallyn.com Cc: Christian Brauner Subject: [PATCH 2/6] statfs: use << to align with fs header Date: Fri, 13 Apr 2018 18:11:22 +0200 Message-Id: <20180413161126.31313-3-christian.brauner@ubuntu.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180413161126.31313-1-christian.brauner@ubuntu.com> References: <20180413161126.31313-1-christian.brauner@ubuntu.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Consistenly use << to define ST_* constants. This also aligns them with their MS_* counterparts in fs.h Signed-off-by: Christian Brauner --- include/linux/statfs.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/linux/statfs.h b/include/linux/statfs.h index 3142e98546ac..b336c04e793c 100644 --- a/include/linux/statfs.h +++ b/include/linux/statfs.h @@ -27,18 +27,18 @@ struct kstatfs { * ABI. The exception is ST_VALID which has the same value as MS_REMOUNT * which doesn't make any sense for statfs. */ -#define ST_RDONLY 0x0001 /* mount read-only */ -#define ST_NOSUID 0x0002 /* ignore suid and sgid bits */ -#define ST_NODEV 0x0004 /* disallow access to device special files */ -#define ST_NOEXEC 0x0008 /* disallow program execution */ -#define ST_SYNCHRONOUS 0x0010 /* writes are synced at once */ -#define ST_VALID 0x0020 /* f_flags support is implemented */ -#define ST_MANDLOCK 0x0040 /* allow mandatory locks on an FS */ -/* 0x0080 used for ST_WRITE in glibc */ -/* 0x0100 used for ST_APPEND in glibc */ -/* 0x0200 used for ST_IMMUTABLE in glibc */ -#define ST_NOATIME 0x0400 /* do not update access times */ -#define ST_NODIRATIME 0x0800 /* do not update directory access times */ -#define ST_RELATIME 0x1000 /* update atime relative to mtime/ctime */ +#define ST_RDONLY (1<<0) /* mount read-only */ +#define ST_NOSUID (1<<1) /* ignore suid and sgid bits */ +#define ST_NODEV (1<<2) /* disallow access to device special files */ +#define ST_NOEXEC (1<<3) /* disallow program execution */ +#define ST_SYNCHRONOUS (1<<4) /* writes are synced at once */ +#define ST_VALID (1<<5) /* f_flags support is implemented */ +#define ST_MANDLOCK (1<<6) /* allow mandatory locks on an FS */ +/* (1<<7) used for ST_WRITE in glibc */ +/* (1<<8) used for ST_APPEND in glibc */ +/* (1<<9) used for ST_IMMUTABLE in glibc */ +#define ST_NOATIME (1<<10) /* do not update access times */ +#define ST_NODIRATIME (1<<11) /* do not update directory access times */ +#define ST_RELATIME (1<<12) /* update atime relative to mtime/ctime */ #endif -- 2.17.0