diff options
| author | Christian Brauner <[email protected]> | 2024-08-23 12:47:35 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-08-30 06:22:39 +0000 |
| commit | da18ecbf0fb6fb73e6f9273e7aa15610f148ce17 (patch) | |
| tree | a46fd39f15d145601ca2185e0c964f32a131aba4 /fs/fs-writeback.c | |
| parent | vfs: fix race between evice_inodes() and find_inode()&iput() (diff) | |
| download | kernel-da18ecbf0fb6fb73e6f9273e7aa15610f148ce17.tar.gz kernel-da18ecbf0fb6fb73e6f9273e7aa15610f148ce17.zip | |
fs: add i_state helpers
The i_state member is an unsigned long so that it can be used with the
wait bit infrastructure which expects unsigned long. This wastes 4 bytes
which we're unlikely to ever use. Switch to using the var event wait
mechanism using the address of the bit. Thanks to Linus for the address
idea.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions
