On Fri, Aug 27, 2021 at 12:36:23PM +0300, Amir Goldstein wrote: > I did not check if it is possible or easy to d_instantiate() in kernfs > mkdir() etc like other filesystems do and I do not know if it would be > possible to enforce that as a strict vfs API rather than a recommendation. For the second question: it would not. E.g. a network filesystem has every right not to give you the data you would need to set an inode up - just "your mkdir had been successful".