os-linux: Define RWF_ATOMIC
authorJohn Garry <john.g.garry@oracle.com>
Mon, 16 Sep 2024 16:53:39 +0000 (16:53 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Sep 2024 18:15:15 +0000 (12:15 -0600)
commit5ba34480dc222db47d7813009eb95a7543790dd3
treef855a91091ef3891819129592b338cf38446d5a3
parentf0af0812543d3d9a4019e2979c6e32f479ee70c4
os-linux: Define RWF_ATOMIC

Add a definition of RWF_ATOMIC when not available from uapi headers.

RWF_ATOMIC is going to be part of Linux v6.11

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240916165347.2226763-2-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-linux.h