From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.43 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794765844; b=nedTB4Awgu8N5MFccAm3lHq5oskd4YVbG4SrNFBY+LPguTFpe++jIZiPJkXX9Tr9sXlo FcDNs1myJrMCwUTlZ2G6LbiK1C3JoLK1/lNR7+cOO3f+fUwGk9i4wQ0qAbUhABUveeS+s DdSXZDuLeOC4UBM3tbSA9Y3h6FLVDdkNbOszrOhJxx94de1QP5/0SKsreWBW8E1e19tKX egWnxzLWRz6OafWFBYXTH02HyNvCiZGfAPCExObPYjF2FUONvS0fJZ7SsOTCE6v72Ef9S h83xxnTISXg6ShnJaYGqQ/DXqHdof9cTw/ZPSRBKKS5fPwpfMnr44JH+34RocrJ8S+A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794765844; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=WZMCtFvfAg1vYqohiGdP4/WJByQardm3oeHLornlvD0=; b=uQgyEMNNcjydCopJx0tDcEjJrf7jhMyjgDpMc1lY4ZxW1qHww1uFJ5B5zFZv9YDGn/Nm EegzG0lJxpLxBg05ZwOoEqSi46yW21rh6jE54o08BomMf0eaJTA59G6fXG+VS1X27MHpB OAlV7RHbQGwxJB5A9/GyYS9hhff8cIG5CItfSiLJozMgyBtQptjpNWfShQ0mOrQIKwFkz fACz+NtyYoTQVvktZSLGZD5VHo07nbDVvWEcD0Rg3N8JW62LYInN4y3aukHEhAKwyhvmh jiKaGrBFTkxDqAnRMHfDCnMeQZAfDiQTIc7Z1XTskHak/xjS6aGBRbvmJHDdbDHTC5A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Y9i5SdEj; arc=none smtp.remote-ip=209.85.128.43 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FD5B606A887 for ; Sun, 15 Nov 2026 18:04:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1FD5B606A887 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Y9i5SdEj Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4a2d6d01ecbso17792385e9.0 for ; Sun, 15 Nov 2026 10:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794765841; x=1795370641; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WZMCtFvfAg1vYqohiGdP4/WJByQardm3oeHLornlvD0=; b=Y9i5SdEjHJqfgpGdwwvH18HT/U2ZCE9Ztzu9lBc7uNC7HslQd+YYHyfE4gd4JJBGZZ b7jnqWJjatVz/vcnWRpsFMcrX2wyk9xBokJY7U256d/MLss9fz3rQ94Oy6rh5lHlnNlI 1RxHR9Av8yiB6KC3gO+YaziUEYLD0N7SRIg15kV+wclYUezdx66anlforVrri9d9CsMj SCC0b7CnycKnm/1FOWeiJ1gifv0UlhDvKLOrOpsZwLok96k/uhviBSlmvMGV5/DDzZfy MT7UpB05w1WtVpwrXubZOuU+JM4omun7B31maO6rnrghD0ItLCLYnSd2Fo8oasJEbk+H /5NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794765841; x=1795370641; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=WZMCtFvfAg1vYqohiGdP4/WJByQardm3oeHLornlvD0=; b=RX0uc3H00zfkJk2F5YrLaHrnpXhsHg46gD4fBW1dPB9jUf7b5+nUecm+ktpjRkmMQF y4UykcBK0hi4o7EjUIR4Y/kYbgApKdvUPoW1rQc8bkBNR+6GNK/9hAvImLSUj5hrZRhH qLHscfQMvC4+ZD8zCwhRuKnLdZlrurZ+Eh5tEdgvxjWEZvtcb2X//CuHbHNvRLp8HZwc Oq2pFYn0tyx3Il+CgNPFq8sKOK0sU+U/YdIIQ+iac48M/J5jOSlLpQ8c7gCDXuBHBqza Idus9mKpkJgGYXg4g8P9NbdQAw/J3aHbi4MHAyKeKeAFwdob1ghjNZ8gvZRscnvWxVAW H0HA== X-Forwarded-Encrypted: i=1; AL+hErFc/4ML93Q4lRd74nTArVEXnlQ/gzy+rxAM2QaHZk8KtcgR+qyLTX68J+MMxI3eixSSqwvMo5g1Aw6JqQ==@vger.kernel.org X-Gm-Message-State: APuU4Z8bl2TVKiEu/WUXUOm92TR9nbhurSMjDscImIFybBuH1oa67CP3 BBWmc9spp1iX1+6qCIYB5ZRMNDDa9n84KgQM+19sYJsJ41OCANZgmjxT X-Gm-Gg: AYBFou2COfP/Af0pIitEd4HFMRcoQK+fpUm5LdrisnylXVD3qzxNauwWiyT3xDhKJ7w 5bCfUSWr47sjHjDWxDf6qVR4lneNBFStYIVPQJp/jLykbaOpQIW3q6Jg/0J0/+6fk+CHP33e34Y ZT9ilzVPW4PTQk0SbBB3RTLf6ZWELy3bNq5lcPfmbp6SEPbbId6ssqQpIxvffvfeDG/ma2qZh4m 4w5jqjSX79YVR1nUAtiefP8zWnmr9k75TUO2kyIPCAGyGnmVei4fJj1w9EgutfRtWNtVFk4yi5c lRzFT0zuwcF2f3CnzVDiQAKQcEHnA1YcQIxA53nXgIYDb6zsjZhthgWouQoad9dvACnb3tGPmr4 XeKPgP8fEQ9OPYgNQmAnbYD1J08cotoDxmijdtZ33I5r4VKczolYLm8HuFi5VnWDA0aB78qKXD+ UANW2qv+ernRK6fLlbcrGFoAHNmmdUOyW+K914ZZXzfR4vZnt4s3Q53Fc+Kcyjtboyb+sINF1LO ou8gXG3IoqLA27z4rM+bPntT/TScLYIbRSX89UeMx/3iNK6o61LMV1FNbduH13XkWg5pxWw6nkx us7tXHK/AyVo0BkTw+hjWL9/Pg== X-Received: by 2002:a05:600c:4e0d:b0:4bb:69b2:d3df with SMTP id 5b1f17b1804b1-4bb69b2d82fmr54499615e9.25.1794765841177; Sun, 15 Nov 2026 10:04:01 -0800 (PST) Received: from infinity ([2001:b07:5d26:7a6a:365a:60ff:fe0d:cfc6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-49c60f8c248sm17980448f8f.58.2026.11.15.10.03.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2026 10:04:00 -0800 (PST) From: koraynilay To: David Sterba , Namjae Jeon , Sungjong Seo , Alexander Viro , Christian Brauner , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , Konstantin Komarov , Paulo Alcantara Cc: Chris Mason , Yuezhang Mo , Jan Kara , NeilBrown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Ronnie Sahlberg , Shyam Prasad N , Bharath SM , Sergey Senozhatsky , ChenXiaoSong , "Darrick J . Wong" , Sean Smith , Andrey Albershteyn , Pedro Falcato , Amir Goldstein , =?UTF-8?q?Pali=20Roh=C3=A1r?= , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, exfat@lists.linux.dev, ntfs3@lists.linux.dev, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-api@vger.kernel.org, koraynilay Subject: [RFC PATCH v4 01/10] vfs: add provenance time (ptime) Date: Sun, 15 Nov 2026 19:03:34 +0100 Message-ID: <20261115180343.576773-2-koray.fra@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261115180343.576773-1-koray.fra@gmail.com> References: <20261115180343.576773-1-koray.fra@gmail.com> X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add provenance time (ptime), indicating the time when a file or directory was created. This is user-settable via file_setattr() and retrievable via statx(2) (using STATX_PTIME) or file_getattr(). The semantics of when to preserve this new timestamp are the same as mtime, the idea being that there is a correspondence like this: ctime <-> btime mtime <-> ptime so every operation (copying, moving, ...) that currently preserves mtime should also preserve ptime. Also add fa_xflags_mask to struct file_attr (and equivalent fsx_xflags_mask to struct file_kattr) to let the filesystems advertise their support for specific xflags and users advertise what they want to change, behaving like statx.stx_attributes_mask: - on GET (file_getattr): each filesystem fills the mask according to their supported xflags, e.g. FS_XFLAG_PTIME or FS_XFLAG_COWEXTSIZE, and provides the values in the corresponding struct fields; - on SET (file_setattr): userspace fills the mask according to which xflags it wants to change, VFS validates this and preserves xflags that were not specified in the mask; - if xflags_mask == 0, use legacy full-struct replacement to keep compatibility with older programs. Furthermore, in order to avoid the legacy FS_IOC_FSSETXATTR accepting FS_XFLAG_PTIME, add an FS_FILE_ATTR_XFLAGS_MASK mask to support new xflags and use it in fileattr_to_file_attr()/file_attr_to_fileattr() to validate that the xflags passed in xflags and xflags_mask fields are valid. Finally, add the missing FS_XFLAG_PROJID flag, to allow userspace to set the projid using file_[sg]etattr(). [ This is a re-implementation of the initial patch[1] by Sean Smith , following the advice[2] from Darrick J. Wong of using file_setattr() instead of updating utimensat() ] [1]: https://lore.kernel.org/20260405195007.1306-2-DefendTheDisabled@gmail.com [2]: https://lore.kernel.org/20260407014129.GC6192@frogsfrogsfrogs Assisted-by: Gemini:3.8-flash-high antigravity-cli-1.4.7 Signed-off-by: koraynilay --- fs/file_attr.c | 75 +++++++++++++++++++++++++++++++++++++-- fs/stat.c | 2 ++ include/linux/fileattr.h | 6 ++++ include/linux/stat.h | 1 + include/uapi/linux/fs.h | 9 ++++- include/uapi/linux/stat.h | 7 +++- 6 files changed, 95 insertions(+), 5 deletions(-) diff --git a/fs/file_attr.c b/fs/file_attr.c index 833e03810b24..12610fb6a751 100644 --- a/fs/file_attr.c +++ b/fs/file_attr.c @@ -102,14 +102,23 @@ EXPORT_SYMBOL(vfs_fileattr_get); static void fileattr_to_file_attr(const struct file_kattr *fa, struct file_attr *fattr) { - __u32 mask = FS_XFLAGS_MASK; + /* + * fsx_xflags_mask contains only flags added after the + * file_[gs]etattr() API, so we need to tell userspace the filesystem + * actually supports all legacy and new advertised flags + */ + __u32 mask = (FS_XFLAGS_MASK | fa->fsx_xflags_mask) & + FS_FILE_ATTR_XFLAGS_MASK; memset(fattr, 0, sizeof(struct file_attr)); fattr->fa_xflags = fa->fsx_xflags & mask; + fattr->fa_xflags_mask = mask; fattr->fa_extsize = fa->fsx_extsize; fattr->fa_nextents = fa->fsx_nextents; fattr->fa_projid = fa->fsx_projid; fattr->fa_cowextsize = fa->fsx_cowextsize; + fattr->fa_ptime_sec = fa->fsx_ptime.tv_sec; + fattr->fa_ptime_nsec = fa->fsx_ptime.tv_nsec; } /** @@ -141,15 +150,23 @@ EXPORT_SYMBOL(copy_fsxattr_to_user); static int file_attr_to_fileattr(const struct file_attr *fattr, struct file_kattr *fa) { - __u64 mask = FS_XFLAGS_MASK; + __u64 mask = fattr->fa_xflags_mask ?: FS_XFLAGS_MASK; + + if (fattr->fa_xflags_mask & ~FS_FILE_ATTR_XFLAGS_MASK) + return -EINVAL; if (fattr->fa_xflags & ~mask) return -EINVAL; fileattr_fill_xflags(fa, fattr->fa_xflags & ~FS_XFLAG_RDONLY_MASK); + fa->fsx_xflags_mask = fattr->fa_xflags_mask; fa->fsx_extsize = fattr->fa_extsize; fa->fsx_projid = fattr->fa_projid; fa->fsx_cowextsize = fattr->fa_cowextsize; + if (fattr->fa_xflags_mask & FS_XFLAG_PTIME) { + fa->fsx_ptime.tv_sec = fattr->fa_ptime_sec; + fa->fsx_ptime.tv_nsec = fattr->fa_ptime_nsec; + } return 0; } @@ -232,6 +249,23 @@ static int fileattr_set_prepare(struct inode *inode, !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) return -EINVAL; + if (fa->fsx_xflags_mask & FS_XFLAG_PTIME) { + if (!(old_ma->fsx_xflags_mask & FS_XFLAG_PTIME)) + return -EOPNOTSUPP; + + if (!(fa->fsx_xflags & FS_XFLAG_PTIME)) + return -EINVAL; + + if ((unsigned long)fa->fsx_ptime.tv_nsec >= NSEC_PER_SEC) + return -EINVAL; + + fa->fsx_ptime = timestamp_truncate(fa->fsx_ptime, inode); + + if (!timespec64_equal(&old_ma->fsx_ptime, &fa->fsx_ptime) && + (fa->flags & old_ma->flags) & (FS_APPEND_FL | FS_IMMUTABLE_FL)) + return -EPERM; + } + /* * It is only valid to set the DAX flag on regular files and * directories on filesystems. @@ -288,13 +322,41 @@ int vfs_fileattr_set(const struct mnt_idmap *idmap, struct dentry *dentry, if (!err) { /* initialize missing bits from old_ma */ if (fa->flags_valid) { - fa->fsx_xflags |= old_ma.fsx_xflags & ~FS_XFLAG_COMMON; + /* FS_IOC_SETFLAGS */ + fa->fsx_xflags |= (old_ma.fsx_xflags & FS_XFLAGS_MASK) & + ~FS_XFLAG_COMMON; fa->fsx_extsize = old_ma.fsx_extsize; fa->fsx_nextents = old_ma.fsx_nextents; fa->fsx_projid = old_ma.fsx_projid; fa->fsx_cowextsize = old_ma.fsx_cowextsize; + fa->fsx_ptime = old_ma.fsx_ptime; } else { + /* + * Preserve unmasked xflags when running file_setattr() + * with a mask, which doesn't need a read-modify-write + * so these attributes would be set to 0. + * + * With FS_IOC_FSSETXATTR or mask == 0 (legacy mode) + * this is not needed as userspace does + * read-modify-write already. + */ + if (fa->fsx_xflags_mask) { + fa->fsx_xflags |= old_ma.fsx_xflags & + ~fa->fsx_xflags_mask; + fileattr_fill_xflags(fa, fa->fsx_xflags & + ~FS_XFLAG_RDONLY_MASK); + if (!(fa->fsx_xflags_mask & FS_XFLAG_EXTSIZE)) + fa->fsx_extsize = old_ma.fsx_extsize; + if (!(fa->fsx_xflags_mask & FS_XFLAG_PROJID)) + fa->fsx_projid = old_ma.fsx_projid; + if (!(fa->fsx_xflags_mask & FS_XFLAG_COWEXTSIZE)) + fa->fsx_cowextsize = old_ma.fsx_cowextsize; + } fa->flags |= old_ma.flags & ~FS_COMMON_FL; + + /* xflags not present in fsxattr */ + if (!(fa->fsx_xflags_mask & FS_XFLAG_PTIME)) + fa->fsx_ptime = old_ma.fsx_ptime; } err = fileattr_set_prepare(inode, &old_ma, fa); @@ -423,6 +485,10 @@ SYSCALL_DEFINE5(file_getattr, int, dfd, const char __user *, filename, return error; fileattr_to_file_attr(&fa, &fattr); + + if (usize < FILE_ATTR_SIZE_VER1) + fattr.fa_xflags &= ~FS_XFLAG_PTIME; + error = copy_struct_to_user(ufattr, usize, &fattr, sizeof(struct file_attr), NULL); @@ -459,6 +525,9 @@ SYSCALL_DEFINE5(file_setattr, int, dfd, const char __user *, filename, if (error) return error; + if ((fattr.fa_xflags & FS_XFLAG_PTIME) && usize < FILE_ATTR_SIZE_VER1) + return -EINVAL; + error = file_attr_to_fileattr(&fattr, &fa); if (error) return error; diff --git a/fs/stat.c b/fs/stat.c index 34d786c1de3e..1e4260f55f01 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -728,6 +728,8 @@ cp_statx(const struct kstat *stat, struct statx __user *buffer) tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; + tmp.stx_ptime.tv_sec = stat->ptime.tv_sec; + tmp.stx_ptime.tv_nsec = stat->ptime.tv_nsec; tmp.stx_rdev_major = MAJOR(stat->rdev); tmp.stx_rdev_minor = MINOR(stat->rdev); tmp.stx_dev_major = MAJOR(stat->dev); diff --git a/include/linux/fileattr.h b/include/linux/fileattr.h index 09e32b84e02a..42b92ccdc583 100644 --- a/include/linux/fileattr.h +++ b/include/linux/fileattr.h @@ -35,6 +35,10 @@ (FS_XFLAG_COMMON | FS_XFLAG_RDONLY_MASK | FS_XFLAG_VALUES_MASK | \ FS_XFLAG_DIRONLY_MASK | FS_XFLAG_MISC_MASK) +/* Flags only for fa_ fields */ +#define FS_FILE_ATTR_XFLAGS_MASK \ + (FS_XFLAGS_MASK | FS_XFLAG_PTIME | FS_XFLAG_PROJID) + /* * Merged interface for miscellaneous file attributes. 'flags' originates from * ext* and 'fsx_flags' from xfs. There's some overlap between the two, which @@ -45,10 +49,12 @@ struct file_kattr { u32 flags; /* flags (FS_IOC_GETFLAGS/FS_IOC_SETFLAGS) */ /* struct fsxattr: */ u32 fsx_xflags; /* xflags field value (get/set) */ + u32 fsx_xflags_mask; /* supported xflags (get) / flags to set (set) */ u32 fsx_extsize; /* extsize field value (get/set)*/ u32 fsx_nextents; /* nextents field value (get) */ u32 fsx_projid; /* project identifier (get/set) */ u32 fsx_cowextsize; /* CoW extsize field value (get/set)*/ + struct timespec64 fsx_ptime; /* provenance (settable birth) time */ /* selectors: */ bool flags_valid:1; bool fsx_valid:1; diff --git a/include/linux/stat.h b/include/linux/stat.h index 4f0a4af7a067..5384a77676f1 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -48,6 +48,7 @@ struct kstat { struct timespec64 mtime; struct timespec64 ctime; struct timespec64 btime; /* File creation time */ + struct timespec64 ptime; /* File provenance (user-settable creation) time */ u64 blocks; u64 mnt_id; u64 change_cookie; diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h index a46c33692aa2..655e448cdd23 100644 --- a/include/uapi/linux/fs.h +++ b/include/uapi/linux/fs.h @@ -229,10 +229,14 @@ struct file_attr { __u32 fa_nextents; /* nextents field value (get) */ __u32 fa_projid; /* project identifier (get/set) */ __u32 fa_cowextsize; /* CoW extsize field value (get/set) */ + __s64 fa_ptime_sec; /* provenance (settable birth) time (seconds) */ + __u32 fa_ptime_nsec; /* provenance (settable birth) time (nanoseconds) */ + __u32 fa_xflags_mask; /* supported xflags (get) / flags to set (set) */ }; #define FILE_ATTR_SIZE_VER0 24 -#define FILE_ATTR_SIZE_LATEST FILE_ATTR_SIZE_VER0 +#define FILE_ATTR_SIZE_VER1 40 +#define FILE_ATTR_SIZE_LATEST FILE_ATTR_SIZE_VER1 /* * Flags for the fsx_xflags field @@ -261,6 +265,9 @@ struct file_attr { */ #define FS_XFLAG_CASEFOLD 0x00040000 /* case-insensitive lookups */ #define FS_XFLAG_CASENONPRESERVING 0x00080000 /* case not preserved */ + +#define FS_XFLAG_PTIME 0x00100000 /* provenance time */ +#define FS_XFLAG_PROJID 0x00200000 /* project ID */ #define FS_XFLAG_HASATTR 0x80000000 /* no DIFLAG for this */ /* the read-only stuff doesn't really belong here, but any other place is diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h index 1686861aae20..f3a1013ba022 100644 --- a/include/uapi/linux/stat.h +++ b/include/uapi/linux/stat.h @@ -187,7 +187,11 @@ struct statx { __u32 __spare2[1]; /* 0xc0 */ - __u64 __spare3[8]; /* Spare space for future expansion */ + /* Data provenance (creation) time */ + struct statx_timestamp stx_ptime; + + /* 0xd0 */ + __u64 __spare3[6]; /* Spare space for future expansion */ /* 0x100 */ }; @@ -219,6 +223,7 @@ struct statx { #define STATX_SUBVOL 0x00008000U /* Want/got stx_subvol */ #define STATX_WRITE_ATOMIC 0x00010000U /* Want/got atomic_write_* fields */ #define STATX_DIO_READ_ALIGN 0x00020000U /* Want/got dio read alignment info */ +#define STATX_PTIME 0x00040000U /* Want/got stx_ptime */ #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansion */ -- 2.56.0