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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/17/24 1:02 PM, Alejandro Colomar wrote:
Hi Rodrigo,

On Tue, Apr 09, 2024 at 03:10:46PM +0100, Rodrigo Campos wrote:
Let's update the list with the last file-systems that added support.

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?


Signed-off-by: Rodrigo Campos <rodrigo@xxxxxxxxxxx>
---

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.



Best,
Rodrigo




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux