Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8991177ybi; Tue, 23 Jul 2019 19:36:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgcQC/NKf88ZNyg4/BF7Xb0ZbGaA519GdV60ByS0tAcOuEEWUpqqSu3TQoLpUrPpd52b7i X-Received: by 2002:a65:6546:: with SMTP id a6mr24807660pgw.220.1563935767719; Tue, 23 Jul 2019 19:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935767; cv=none; d=google.com; s=arc-20160816; b=pvjMKfbpTeAbS6sLoQs3jbHUtBJXSHvsG5dyp2sUHM6Gc73WldvJbGHrDz/xqmV6Ql tQfvSzNBkhOb/RXSrJOIAs0NVlmzZH260S6/g7tH2cDfd7SYxi2lgYyFH24WHHAIZMQP YsoAC5ZN9S0IuNRyX/bAIrbchCLwuVqtHzp2S0aU50gd9CNioIJM8Mwy9aMjWs4XemEZ s2AsOexMSPLwWfwSYb7gnITG22kR3NfDN4UMIK4hAbJoLWmjwaMWnqNpx88CGA8x1BSA 5duLOVYP6evq06mRPSPk3m9SYEPL3fwSytcP7fO9dSzu9iY+/+sByq6pzlFpd6O1HiUT 5WGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=yhEVR+lyaQktfxSLQ/EB+rshNGy8yD7d36OlQswd69s=; b=ojaONHRFrM0Ny+Ue5ljLzzssbQPoNELkBa8i9tldwjERqd8J5Kf/Ko7tKoc/pSNWxk OQltYztO+yehESPnjNJgSt5JCSDNcEImgc7x0YSDUmcLh+sY6oGwQHSfJhKJJW/2N2CR XPcrlhl2jMevnNOsuGMKoYad1zrffRcn2Z8P161wetaNJ/OaAZdxcsPTBljxrvdH7Frj a2RjHwBob7znDLyl+7pcmgmf62smWnOMkCl3zKqHor/xdm+J3wLpEzotOeoXJPTaWyAP m9j3XSIOlectOPazm13/JjyJQTIxHsOyjvO0w4YpOFBZQm6A0zsRUffZmdasSUa3/QtN d0RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MpvWJogD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si11803032plz.290.2019.07.23.19.35.52; Tue, 23 Jul 2019 19:36:07 -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=@google.com header.s=20161025 header.b=MpvWJogD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726371AbfGWXG4 (ORCPT + 99 others); Tue, 23 Jul 2019 19:06:56 -0400 Received: from mail-pf1-f202.google.com ([209.85.210.202]:35399 "EHLO mail-pf1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbfGWXGz (ORCPT ); Tue, 23 Jul 2019 19:06:55 -0400 Received: by mail-pf1-f202.google.com with SMTP id r142so27158235pfc.2 for ; Tue, 23 Jul 2019 16:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=yhEVR+lyaQktfxSLQ/EB+rshNGy8yD7d36OlQswd69s=; b=MpvWJogDMmHQ2qrE16nKlM51a8S8juN4VRqWI7Y7hxGArHYnoMo171MSqnp0UMAbiY M4ZsiHyFZy+tNob1BA48IiEW2FawnZr/tAXd6fH1yDW/ZoZIPdrX9l6ar2QptSWdyI2V qcDLq3uh/BjJUYlgGyyuZlq7GfmtcSL3jXsz7W1gc6vo0xB1iBOY6ibHPOOl2DnhJ7yT +nlx8f/YSL4dLcVNxGGhh2uN6Ahy+VlBKv3B1YJDLXSuS+zi3htFgNC4QyUi0OaVNKjb jfpP5V44L+Q65wwreiOiNTae0K3lqfR62T9zMCxFQbkDqkY2fQx6b1MBPVChbBDHy51s HkFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=yhEVR+lyaQktfxSLQ/EB+rshNGy8yD7d36OlQswd69s=; b=TH/xyEagBCNZeUKFvnHDADytpsQyfRTBvuNU+BIDe34kOHsdTKKlCH0w8krkotLkA7 JfRlPjq9gKoEIpeRtQghwvu60X1komkSuq7KvU+6NufsKiQ0pbGLq6Kd5YkOcl7W0Fap ef03GEqMSOyWufzc3P9pu442F7VMblj0gUtVv3yZ7IGQJ3SwhYYenmuyD6+d94PeoUzc pPjbYIcNIkZuP03lApFb8OH7Uuq5g2g2IeYjxiicPf7lBpfRsMBk58sVRbr0p4bJzF13 Zvb1ol9znbPs4GnCbKTct2XdyE4OOhOVFIjimfkkEl346xkbj8O1YchG6Aa48d1AYojr oVjQ== X-Gm-Message-State: APjAAAXvWfGtsOjKniRBpOfw3DtrtboDXhRWJ8JjlvWcdPlKDZI9yjXB BHIbIJLp+NJAhI/aimn3juYnuI0ILvs= X-Received: by 2002:a63:7a06:: with SMTP id v6mr79320562pgc.115.1563923214813; Tue, 23 Jul 2019 16:06:54 -0700 (PDT) Date: Tue, 23 Jul 2019 16:05:27 -0700 In-Reply-To: <20190723230529.251659-1-drosen@google.com> Message-Id: <20190723230529.251659-2-drosen@google.com> Mime-Version: 1.0 References: <20190723230529.251659-1-drosen@google.com> X-Mailer: git-send-email 2.22.0.657.g960e92d24f-goog Subject: [PATCH v4 1/3] fs: Reserve flag for casefolding From: Daniel Rosenberg To: Jaegeuk Kim , Chao Yu , Jonathan Corbet , linux-f2fs-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, kernel-team@android.com, Daniel Rosenberg Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation for including the casefold feature within f2fs, elevate the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL. Signed-off-by: Daniel Rosenberg --- include/uapi/linux/fs.h | 1 + tools/include/uapi/linux/fs.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h index 59c71fa8c553a..2a616aa3f6862 100644 --- a/include/uapi/linux/fs.h +++ b/include/uapi/linux/fs.h @@ -311,6 +311,7 @@ struct fscrypt_key { #define FS_NOCOW_FL 0x00800000 /* Do not cow file */ #define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */ #define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */ +#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */ #define FS_RESERVED_FL 0x80000000 /* reserved for ext2 lib */ #define FS_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */ diff --git a/tools/include/uapi/linux/fs.h b/tools/include/uapi/linux/fs.h index 59c71fa8c553a..2a616aa3f6862 100644 --- a/tools/include/uapi/linux/fs.h +++ b/tools/include/uapi/linux/fs.h @@ -311,6 +311,7 @@ struct fscrypt_key { #define FS_NOCOW_FL 0x00800000 /* Do not cow file */ #define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */ #define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */ +#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */ #define FS_RESERVED_FL 0x80000000 /* reserved for ext2 lib */ #define FS_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */ -- 2.22.0.657.g960e92d24f-goog