NOVA returns the incorrect type for the root inode. Interestingly, stat returns the correct value, but what comes out of dir.c:nova_readdir_fast show i_mode is zero for the root inode.
# xfstests/src/t_dir_type /mnt/ramdisk/
. u
.. u
# mkdir /mnt/ramdisk/foo
# xfstests/src/t_dir_type /mnt/ramdisk/foo
. d
.. u
NOVA returns the incorrect type for the root inode. Interestingly,
stat
returns the correct value, but what comes out ofdir.c:nova_readdir_fast
showi_mode
is zero for the root inode.