在 2025/6/25 16:04, Christian Brauner 写道:
On Tue, Jun 24, 2025 at 01:51:51PM +0100, Matthew Wilcox wrote:
On Tue, Jun 24, 2025 at 12:12:08PM +, 陈涛涛 Taotao Chen wrote:
-static int blkdev_write_end(struct file *file, struct address_space *mapping,
+static int blkdev_write_end(struct kiocb *i
On Tue, Jun 24, 2025 at 12:12:08PM +, 陈涛涛 Taotao Chen wrote:
> -static int blkdev_write_end(struct file *file, struct address_space *mapping,
> +static int blkdev_write_end(struct kiocb *iocb, struct address_space
> *mapping,
> loff_t pos, unsigned len, unsigned copied, struct fo
On Tue, Jun 24, 2025 at 01:51:51PM +0100, Matthew Wilcox wrote:
> On Tue, Jun 24, 2025 at 12:12:08PM +, 陈涛涛 Taotao Chen wrote:
> > -static int blkdev_write_end(struct file *file, struct address_space
> > *mapping,
> > +static int blkdev_write_end(struct kiocb *iocb, struct address_space
> > *
From: Taotao Chen
Change the address_space_operations callbacks write_begin() and
write_end() to take struct kiocb * as the first argument instead of
struct file *.
Update all affected function prototypes, implementations, call sites,
and related documentation across VFS, filesystems, and block