On Tue, Sep 20, 2022 at 09:36:25PM +0200, Miklos Szeredi wrote: > From: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > > Duplicate the few lines that are shared between hugetlbfs_mknod() and > hugetlbfs_tmpfile(). > > This is a prerequisite for sanely changing the signature of ->tmpfile(). > > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx> > --- Looks good to me, Reviewed-by: Christian Brauner (Microsoft) <brauner@xxxxxxxxxx>