diff options
| author | Bart Van Assche <[email protected]> | 2024-02-02 20:39:23 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-02-06 13:30:48 +0000 |
| commit | fe3944fb245ab99570552a3bf970b00058a9ca6d (patch) | |
| tree | 6fc80c8d7fd39ce5dd3345f735bfe647ed486fbc /fs/btrfs/dev-replace.c | |
| parent | fs: Split fcntl_rw_hint() (diff) | |
| download | kernel-fe3944fb245ab99570552a3bf970b00058a9ca6d.tar.gz kernel-fe3944fb245ab99570552a3bf970b00058a9ca6d.zip | |
fs: Move enum rw_hint into a new header file
Move enum rw_hint into a new header file to prepare for using this data
type in the block layer. Add the attribute __packed to reduce the space
occupied by instances of this data type from four bytes to one byte.
Change the data type of i_write_hint from u8 into enum rw_hint.
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Chao Yu <[email protected]> # for the F2FS part
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
