I'm new to xv6-riscv project and recently reading the source code. While reading and debugging, I found the source file kernel/ramdisk.c is dependent on the flags field of struct buf and a series of constants like B_DIRTY, B_VALID, etc., which has been removed in This Commit. However, this file is never compiled in Makefile, so I wonder if it is deprecated and should be deleted now.
I'm new to xv6-riscv project and recently reading the source code. While reading and debugging, I found the source file
kernel/ramdisk.c
is dependent on theflags
field ofstruct buf
and a series of constants likeB_DIRTY
,B_VALID
, etc., which has been removed in This Commit. However, this file is never compiled inMakefile
, so I wonder if it is deprecated and should be deleted now.