Pull final vfs updates from Al Viro: "Assorted cleanups and fixes all over the place" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: sg_write()/bsg_write() is not fit to be called under KERNEL_DS ufs: fix function declaration for ufs_truncate_blocks fs: exec: apply CLOEXEC before changing dumpable task flags seq_file: reset iterator to first record for zero offset vfs: fix isize/pos/len checks for reflink & dedupe [iov_iter] fix iterate_all_kinds() on empty iterators move aio compat to fs/aio.c reorganize do_make_slave() clone_private_mount() doesn't need to touch namespace_sem remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id()
Showing the changes to include/linux (1 of 15 files). Show all
Unified · Split
| @@ -14,14 +14,9 @@ typedef int (kiocb_cancel_fn)(struct kiocb *); · 13 unmodified lines | |||
| 14 | /* prototypes */ | 14 | /* prototypes */ |
| 15 | #ifdef CONFIG_AIO | 15 | #ifdef CONFIG_AIO |
| 16 | extern void exit_aio(struct mm_struct *mm); | 16 | extern void exit_aio(struct mm_struct *mm); |
| 17 | extern long do_io_submit(aio_context_t ctx_id, long nr, | ||
| 18 | struct iocb __user *__user *iocbpp, bool compat); | ||
| 19 | void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); | 17 | void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); |
| 20 | #else | 18 | #else |
| 21 | static inline void exit_aio(struct mm_struct *mm) { } | 19 | static inline void exit_aio(struct mm_struct *mm) { } |
| 22 | static inline long do_io_submit(aio_context_t ctx_id, long nr, | ||
| 23 | struct iocb __user * __user *iocbpp, | ||
| 24 | bool compat) { return 0; } | ||
| 25 | static inline void kiocb_set_cancel_fn(struct kiocb *req, | 20 | static inline void kiocb_set_cancel_fn(struct kiocb *req, |
| 26 | kiocb_cancel_fn *cancel) { } | 21 | kiocb_cancel_fn *cancel) { } |
| 27 | #endif /* CONFIG_AIO */ | 22 | #endif /* CONFIG_AIO */ |