/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX__AIO_H #define __LINUX__AIO_H #include struct kioctx; struct kiocb; struct mm_struct; typedef int (kiocb_cancel_fn)(struct kiocb *); /* prototypes */ #ifdef CONFIG_AIO extern void exit_aio(struct mm_struct *mm); void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); #else static inline void exit_aio(struct mm_struct *mm) { } static inline void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel) { } #endif /* CONFIG_AIO */ /* for sysctl: */ extern unsigned long aio_nr; extern unsigned long aio_max_nr; #endif /* __LINUX__AIO_H */ /cgit/'>index : linux-net-next.git
Unnamed repository; edit this file 'description' to name the repository.Russell King
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-02-16 19:36:06 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-16 19:36:06 -0800
commitce7805513d902c07d8d4266b73b692fbdc66f440 (patch)
tree7398cb6330ba725cfc32f6ef8704f61c893303c1
parent744676e777207f4992ba4cc728a8a71352963c5b (diff)
parent0da3359a4a21535467e098ff86c555c76a1afe4b (diff)
Merge branch 'r8169-series-with-further-smaller-improvements'
Heiner Kallweit says: ==================== r8169: series with further smaller improvements Nothing too exciting. This series includes further smaller improvements. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>