diff options
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index b681d90b1e87..86c2cda208ea 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -183,7 +183,7 @@ struct ext4_map_blocks { | |||
183 | #define EXT4_IO_END_UNWRITTEN 0x0001 | 183 | #define EXT4_IO_END_UNWRITTEN 0x0001 |
184 | 184 | ||
185 | /* | 185 | /* |
186 | * For converting uninitialized extents on a work queue. 'handle' is used for | 186 | * For converting unwritten extents on a work queue. 'handle' is used for |
187 | * buffered writeback. | 187 | * buffered writeback. |
188 | */ | 188 | */ |
189 | typedef struct ext4_io_end { | 189 | typedef struct ext4_io_end { |
@@ -536,26 +536,26 @@ enum { | |||
536 | /* | 536 | /* |
537 | * Flags used by ext4_map_blocks() | 537 | * Flags used by ext4_map_blocks() |
538 | */ | 538 | */ |
539 | /* Allocate any needed blocks and/or convert an unitialized | 539 | /* Allocate any needed blocks and/or convert an unwritten |
540 | extent to be an initialized ext4 */ | 540 | extent to be an initialized ext4 */ |
541 | #define EXT4_GET_BLOCKS_CREATE 0x0001 | 541 | #define EXT4_GET_BLOCKS_CREATE 0x0001 |
542 | /* Request the creation of an unitialized extent */ | 542 | /* Request the creation of an unwritten extent */ |
543 | #define EXT4_GET_BLOCKS_UNINIT_EXT 0x0002 | 543 | #define EXT4_GET_BLOCKS_UNWRIT_EXT 0x0002 |
544 | #define EXT4_GET_BLOCKS_CREATE_UNINIT_EXT (EXT4_GET_BLOCKS_UNINIT_EXT|\ | 544 | #define EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT (EXT4_GET_BLOCKS_UNWRIT_EXT|\ |
545 | EXT4_GET_BLOCKS_CREATE) | 545 | EXT4_GET_BLOCKS_CREATE) |
546 | /* Caller is from the delayed allocation writeout path | 546 | /* Caller is from the delayed allocation writeout path |
547 | * finally doing the actual allocation of delayed blocks */ | 547 | * finally doing the actual allocation of delayed blocks */ |
548 | #define EXT4_GET_BLOCKS_DELALLOC_RESERVE 0x0004 | 548 | #define EXT4_GET_BLOCKS_DELALLOC_RESERVE 0x0004 |
549 | /* caller is from the direct IO path, request to creation of an | 549 | /* caller is from the direct IO path, request to creation of an |
550 | unitialized extents if not allocated, split the uninitialized | 550 | unwritten extents if not allocated, split the unwritten |
551 | extent if blocks has been preallocated already*/ | 551 | extent if blocks has been preallocated already*/ |
552 | #define EXT4_GET_BLOCKS_PRE_IO 0x0008 | 552 | #define EXT4_GET_BLOCKS_PRE_IO 0x0008 |
553 | #define EXT4_GET_BLOCKS_CONVERT 0x0010 | 553 | #define EXT4_GET_BLOCKS_CONVERT 0x0010 |
554 | #define EXT4_GET_BLOCKS_IO_CREATE_EXT (EXT4_GET_BLOCKS_PRE_IO|\ | 554 | #define EXT4_GET_BLOCKS_IO_CREATE_EXT (EXT4_GET_BLOCKS_PRE_IO|\ |
555 | EXT4_GET_BLOCKS_CREATE_UNINIT_EXT) | 555 | EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT) |
556 | /* Convert extent to initialized after IO complete */ | 556 | /* Convert extent to initialized after IO complete */ |
557 | #define EXT4_GET_BLOCKS_IO_CONVERT_EXT (EXT4_GET_BLOCKS_CONVERT|\ | 557 | #define EXT4_GET_BLOCKS_IO_CONVERT_EXT (EXT4_GET_BLOCKS_CONVERT|\ |
558 | EXT4_GET_BLOCKS_CREATE_UNINIT_EXT) | 558 | EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT) |
559 | /* Eventual metadata allocation (due to growing extent tree) | 559 | /* Eventual metadata allocation (due to growing extent tree) |
560 | * should not fail, so try to use reserved blocks for that.*/ | 560 | * should not fail, so try to use reserved blocks for that.*/ |
561 | #define EXT4_GET_BLOCKS_METADATA_NOFAIL 0x0020 | 561 | #define EXT4_GET_BLOCKS_METADATA_NOFAIL 0x0020 |