1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/aio_abi.h>
11 typedef int (kiocb_cancel_fn
)(struct kiocb
*);
15 extern void exit_aio(struct mm_struct
*mm
);
16 void kiocb_set_cancel_fn(struct kiocb
*req
, kiocb_cancel_fn
*cancel
);
18 static inline void exit_aio(struct mm_struct
*mm
) { }
19 static inline void kiocb_set_cancel_fn(struct kiocb
*req
,
20 kiocb_cancel_fn
*cancel
) { }
21 #endif /* CONFIG_AIO */
23 #endif /* __LINUX__AIO_H */