> > How about the following: > > > > - alloc_file loses the actual file allocation and gets a new name > > (unfortunatel init_file is already taken), callers call > > alloc_empty_file_noaccount or alloc_empty_file plus the > > new helper. > > - similarly __alloc_file_pseudo is split into a helper creating > > a path for mnt and inode, and callers call that plus the > > file allocation > > > > ? > > Ok, let me see how far I get. Ok, it's in vfs.super.