kernel/vm: Make the first CACHE_TYPE be 1 instead of 0.
We store this value in a bitfield, so we can't use -1 to mean invalid/unknown. Move the first value up so that 0 can be used for that instead.
This commit is contained in:
@@ -25,7 +25,7 @@ struct ObjectCache;
|
||||
|
||||
|
||||
enum {
|
||||
CACHE_TYPE_RAM = 0,
|
||||
CACHE_TYPE_RAM = 1,
|
||||
CACHE_TYPE_VNODE,
|
||||
CACHE_TYPE_DEVICE,
|
||||
CACHE_TYPE_NULL
|
||||
|
||||
Reference in New Issue
Block a user