diff options
| author | Bart Van Assche <[email protected]> | 2024-02-02 20:39:21 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-02-06 13:30:47 +0000 |
| commit | e769779c0c2c3a475c6b7313d35ff0aa3aceb780 (patch) | |
| tree | e05f0c83bcba7080304b80ff5b849d6764fb9b18 /fs/btrfs/dev-replace.c | |
| parent | fs: Fix rw_hint validation (diff) | |
| download | kernel-e769779c0c2c3a475c6b7313d35ff0aa3aceb780.tar.gz kernel-e769779c0c2c3a475c6b7313d35ff0aa3aceb780.zip | |
fs: Verify write lifetime constants at compile time
The code in fs/fcntl.c converts RWH_* constants to and from WRITE_LIFE_*
constants using casts. Verify at compile time that these casts will yield
the intended effect.
Reviewed-by: Christoph Hellwig <[email protected]>
Suggested-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[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
