mfs: use macros to mark blocks and inodes dirty
. No functional change . Only serves to get hooks to do checks in . e.g. should things be marked dirty when we are mounted readonly Signed-off-by: Ben Gras <ben@minix3.org>
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ struct buf {
|
||||
struct buf *b_hash; /* used to link bufs on hash chains */
|
||||
block_t b_blocknr; /* block number of its (minor) device */
|
||||
dev_t b_dev; /* major | minor device where block resides */
|
||||
char b_dirt; /* CLEAN or DIRTY */
|
||||
char b_dirt; /* BP_CLEAN or BP_DIRTY */
|
||||
char b_count; /* number of users of this buffer */
|
||||
unsigned int b_bytes; /* Number of bytes allocated in bp */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user