Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

From: Gregory Farnum
Date: Mon Mar 18 2019 - 05:05:22 EST


On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng <ukernel@xxxxxxxxx> wrote:
> After reading the code carefully. I feel a little uncomfortable with
> the "lookup_ino" in get_quota_realm. how about populating directories
> above the 'mount subdir' during mounting (similar to cifs_get_root ).

Isn't that going to be a problem for any clients which have restricted
filesystem access permissions? They may not be able to see all the
directories above their mount point.
-Greg