Messages in this thread | | | Date | Sun, 27 Nov 2022 22:29:45 +0100 (CET) | From | Richard Weinberger <> | Subject | Re: [PATCH 2/3] fs: namei: Allow follow_down() to uncover auto mounts |
| |
----- Ursprüngliche Mail ----- > Von: "Jeff Layton" <jlayton@kernel.org> >> So, in nfsd_cross_mnt() the follow_down() helper should use LOOKUP_AUTOMOUNT >> only >> if exp->ex_flags & NFSEXP_CROSSMOUNT is true? >> Sounds sane, thanks for the pointer. >> > > Yeah, I think so. I do wonder if we ought to make any provision for > "nohide" exports, but since you have to enumerate those explicitly, it > shouldn't be a huge problem for someone to just ensure that they're > mounted beforehand.
TBH, I didn't invest much into the nohide feature wrt. NFS re-exporting. What problem do you have in mind?
I wonder also what NFS client folks think about my changes before I send the next revision (with Jeff's comments addressed).
Thanks, //richard
| |