sys/vfs/hammer2: Remove REGFILE/SOFTLINK test in hammer2_inode_create_pfs()
commitad82725233cc8dd120fc61d0aafb46fa620f4190
authorTomohiro Kusumi <tkusumi@netbsd.org>
Fri, 24 Nov 2023 09:15:20 +0000 (24 01:15 -0800)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Fri, 24 Nov 2023 09:22:54 +0000 (24 01:22 -0800)
treef8d362049fcb118ef007bf243c2db0411e1e2a33
parent258074ba74fc0fd47b2f765db4d96063f6dc1f8b
sys/vfs/hammer2: Remove REGFILE/SOFTLINK test in hammer2_inode_create_pfs()

This code appeared in 5afbe9d887367290d89391c2d29697655f9fc1da in 2018,
when inode creation function got split into normal and PFS.

However, PFS inode is always a directory (HAMMER2_OBJTYPE_DIRECTORY),
so xop->meta.type is never a REGFILE or SOFTLINK.
See right above this removed code.
sys/vfs/hammer2/hammer2_inode.c