fs_info: Use B_DEV_NAME_LENGTH instead of 128 and remove TODO.
Change-Id: I2c93aee052ac4393512d457e1e84c969e5a927f9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10131 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
0d6bb5bfc1
commit
9d432d1b00
@@ -68,15 +68,6 @@ Priority: medium
|
||||
Requires: - verification of B_OPEN_AT_END behavior
|
||||
|
||||
|
||||
Module: fs_info.h
|
||||
Location: struct fs_info
|
||||
Description: Change "char device_name[128]" to "char device_name[B_DEV_NAME_LENGTH]"
|
||||
whenever appropriate, since B_DEV_NAME_LENGTH is now declared in
|
||||
StorageDefs.h.
|
||||
Priority: low
|
||||
Requires: - filesystem support files in the source hierarchy
|
||||
|
||||
|
||||
Module: BMimeType/MimeTypeTest
|
||||
Location: update_mime_info(), create_app_meta_mime()
|
||||
Description: Find out, what is the meaning of the force parameter. It does
|
||||
|
||||
@@ -31,7 +31,7 @@ typedef struct fs_info {
|
||||
off_t free_blocks; /* number of free blocks */
|
||||
off_t total_nodes; /* total number of nodes */
|
||||
off_t free_nodes; /* number of free nodes */
|
||||
char device_name[128]; /* device holding fs */
|
||||
char device_name[B_DEV_NAME_LENGTH]; /* device holding fs */
|
||||
char volume_name[B_FILE_NAME_LENGTH]; /* volume name */
|
||||
char fsh_name[B_OS_NAME_LENGTH]; /* name of fs handler */
|
||||
} fs_info;
|
||||
|
||||
@@ -32,7 +32,7 @@ typedef struct fs_info {
|
||||
off_t free_blocks; /* number of free blocks */
|
||||
off_t total_nodes; /* total number of nodes */
|
||||
off_t free_nodes; /* number of free nodes */
|
||||
char device_name[128]; /* device holding fs */
|
||||
char device_name[B_DEV_NAME_LENGTH]; /* device holding fs */
|
||||
char volume_name[B_FILE_NAME_LENGTH]; /* volume name */
|
||||
char fsh_name[B_OS_NAME_LENGTH]; /* name of fs handler */
|
||||
} fs_info;
|
||||
|
||||
Reference in New Issue
Block a user