fuse: fix up uid/gid mount option handling
Status from this message: Applied to the vfs.mount.api branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fuse: verify {g,u}id mount options correctlyfs/ | +20 | 0 replies | |
| 2/2 | fuse: Convert to new uid/gid option parsing helpersfs/ | +4 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christian Brauner | Josef Bacik |
|---|---|---|
| Series | R-b | R-b |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] fuse: fix up uid/gid mount option handling
This short series fixes up fuse uid/gid mount option handling.
First, as was done for tmpfs in0200679fc795 ("tmpfs: verify {g,u}id mount options correctly") it validates that the requested uid and/or gid is representable in the filesystem's idmapping. I've shamelessly copied commit description and code from that commit.
Second, it is switched to use the uid/gid mount helpers proposed at
https://lore.kernel.org/linux-fsdevel/[email protected]/T/#t
Both of these are compile-tested only.
Thanks,
-Eric