Thread (12 messages) 12 messages, 2 authors, 2024-05-23

Re: [PATCH] mount_setattr.2: Update supported file-systems

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-04-29 10:31:47

Hi Rodrigo,

On Mon, Apr 29, 2024 at 11:19:36AM +0100, Rodrigo Campos wrote:
On 4/17/24 1:02 PM, Alejandro Colomar wrote:
quoted
Hi Rodrigo,

On Tue, Apr 09, 2024 at 03:10:46PM +0100, Rodrigo Campos wrote:
quoted
Let's update the list with the last file-systems that added support.
I've amended this: s/last/latest/
quoted
quoted
You can easily verify this by "git grep FS_ALLOW_IDMAP" on the given Linux
version to see that the fs is listed and then checkout the previous Linux
version to see that it is not listed, therefore it was added in that version.
You could add the following to the commit message:

$ diff -w -U0 \
	<(git grep FS_ALLOW_IDMAP v6.8 | sed 's/^v6.8://') \
	<(git grep FS_ALLOW_IDMAP v6.9-rc4 | sed 's/^v6.9-rc4://') \
| tail -n+4;
+fs/hugetlbfs/inode.c:	.fs_flags               = FS_ALLOW_IDMAP,

$ diff -w -U0 \
	<(git grep FS_ALLOW_IDMAP v6.6 | sed 's/^v6.6://') \
	<(git grep FS_ALLOW_IDMAP v6.7 | sed 's/^v6.7://') \
| tail -n+4;
+fs/ceph/super.c:	.fs_flags	= FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP,
$ diff -w -U0 \
	<(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \
	<(git grep FS_ALLOW_IDMAP v6.3 | sed 's/^v6.3://') \
| tail -n+4;
+mm/shmem.c:	.fs_flags	= FS_USERNS_MOUNT | FS_ALLOW_IDMAP,
$ diff -w -U0 \
	<(git grep FS_ALLOW_IDMAP v6.1 | sed 's/^v6.1://') \
	<(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \
| tail -n+4;
+fs/squashfs/super.c:	.fs_flags = FS_REQUIRES_DEV | FS_ALLOW_IDMAP,

Heh, nice trick. Do I need to resend for this or can you add it while you
apply it?
I can.  :-)
quoted
quoted
Signed-off-by: Rodrigo Campos <redacted>
---

I've took the liberty of adding hugetlbfs that was merged in Linux 6.9-rc1 but there is still no
final release of 6.9. Please feel free to drop that if you prefer to wait for the final release to
include it.
Are you confident that it will be in 6.9?  If so, I don't mind having it
already in the manual.
Yes. It's already rc6 and there was no issue reported for this, the patch is
quite trivial too and was in linux-next before without issues either.
Okay.  I've applied the patch.  Thanks!
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=8ea186128f96d6f8912e05c95544734004618827>

Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>
A client is hiring kernel driver, mm, and/or crypto developers;
contact me if interested.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help