Re: [PATCH 04/11] vfs: add a vfs helper for io_uring file pos lock

Matthew Wilcox
2023-08-27T20:48:04Z

On Sun, Aug 27, 2023 at 09:28:28PM +0800, Hao Xu wrote:
> +++ b/include/linux/file.h
> @@ -81,6 +81,8 @@ static inline void fdput_pos(struct fd f)
> fdput(f);
> }
>
> +extern int file_pos_lock_nowait(struct file *file, bool nowait);

No extern on function declarations.