• Wen Yang's avatar
    eventfd: show the EFD_SEMAPHORE flag in fdinfo · 33d8b5d7
    Wen Yang authored
    The EFD_SEMAPHORE flag should be displayed in fdinfo,
    as different value could affect the behavior of eventfd.
    Suggested-by: default avatarChristian Brauner <brauner@kernel.org>
    Signed-off-by: default avatarWen Yang <wenyang.linux@foxmail.com>
    Cc: Alexander Viro <viro@zeniv.linux.org.uk>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Christian Brauner <brauner@kernel.org>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dylan Yudaken <dylany@fb.com>
    Cc: David Woodhouse <dwmw@amazon.co.uk>
    Cc: Matthew Wilcox <willy@infradead.org>
    Cc: Eric Biggers <ebiggers@google.com>
    Cc: linux-fsdevel@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Message-Id: <tencent_05B9CFEFE6B9BC2A9B3A27886A122A7D9205@qq.com>
    Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
    33d8b5d7
eventfd.c 11.7 KB