On Wed, 11 Jun 2025, Christian Brauner wrote: > On Mon, Jun 09, 2025 at 09:09:32AM +1000, NeilBrown wrote: > > The following 5 patches provide further cleanup that serves as > > preparation for some dir-locking API changes that I want to make. The > > most interesting is the last which makes another change to vfs_mkdir(). > > As well as returning the dentry or consuming it on failure (a recent > > change) it now also unlocks on failure. This will be needed when we > > transition to locking just the dentry, not the whole directory. > > All of the patches except the vfs_mkdir() one that Al is looking at > make sense as independent cleanups imho. So I'd take them unless I hear > screams. > Thanks. I'm glad you didn't include the vfs_mkdir() change as I found a problem in the overlayfs code. I'm make sure I really understand that code before trying that one again. Meanwhile I noticed I have a couple of other mostly-independent cleanups. I'll send those. NeilBrown