NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 117 forks source link

XFSTests generic/401: Nova returns incorrect file type for root inode #17

Closed stevenjswanson closed 7 years ago

stevenjswanson commented 7 years ago

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