Re: [PATCH] ceph: use the mount idmap for the owner checks in the SET_LAYOUT ioctls

From: Ilya Dryomov

Date: Sun Aug 09 2026 - 13:33:54 EST


On Sat, Aug 8, 2026 at 8:31 AM Max Kellermann <max.kellermann@xxxxxxxxx> wrote:
>
> On Tue, Jul 28, 2026 at 1:31 PM Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
> > Was there any specific reason you used nop_mnt_idmap for these checks?
>
> No, I copied that check from another filesystem, probably ext2. I had
> no idea what this parameter means (and I have never used idmappings).
> I guess the amended parameter in this patch is correct.

Hi Xiubo,

You reviewed Max's "ceph: add owner/capability checks for
CEPH_IOC_SET_LAYOUT*" patch. Would you be able to review this fixup as
well?

Thanks,

Ilya