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

Matthew Wilcox willy at infradead.org
Sun Aug 27 13:47:05 PDT 2023


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.



More information about the linux-mtd mailing list