diff options
author | Wen Yang <wenyang.linux@foxmail.com> | 2024-01-10 23:47:40 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-01-22 15:33:36 +0100 |
commit | 6b6ec4ca4e33d797f887cb2d7ecf365b652b338c (patch) | |
tree | d8876c96f67d7bbeface8709d8af369fd9fe3eab /virt | |
parent | 6c8ac6e24eb04d1eebc442029d7a7528e5461cb8 (diff) |
eventfd: add a BUILD_BUG_ON() to ensure consistency between EFD_SEMAPHORE and the uapi
introduce a BUILD_BUG_ON to check that the EFD_SEMAPHORE is equal to its
definition in the uapi file, just like EFD_CLOEXEC and EFD_NONBLOCK.
Signed-off-by: Wen Yang <wenyang.linux@foxmail.com>
Link: https://lore.kernel.org/r/tencent_0BAA2DEAF9208D49987457E6583F9BE79507@qq.com
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>
Cc: <linux-fsdevel@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions