On Wed, Sep 21, 2022 at 05:27:18PM +0200, Miklos Szeredi wrote: > On Wed, 21 Sept 2022 at 17:08, Christian Brauner <brauner@xxxxxxxxxx> wrote: > > > > On Wed, Sep 21, 2022 at 04:58:38PM +0200, Miklos Szeredi wrote: > > > > file_dentry() is basically a hack for overlayfs's "fake path" thing. > > > It should only be used where strictly necessary. At one point it > > > would be good to look again at cleaning this mess up. > > > > Yeah, that's what I was getting at. The file_dentry() helper would > > ideally just be as simple as file_inode() and then we'd have > > file_dentry_real() for the stacking filesystem scenarios. > > Sure. But that again belongs to a separate discussion, imo. Separate patchset for sure.