Re: linux-next: build failure after merge of the block tree

Jens Axboe
2020-05-22T14:46:29Z

On 5/22/20 5:32 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (x86_64
> allnoconfig) failed like this:
>
> fs/libfs.c: In function 'generic_file_fsync':
> fs/libfs.c:1116:9: error: too few arguments to function 'blkdev_issue_flush'
> 1116 | return blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL);
> | ^~~~~~~~~~~~~~~~~~
> In file included from fs/libfs.c:7:
> include/linux/blkdev.h:1875:19: note: declared here
> 1875 | static inline int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask,
> | ^~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> c64644ce363b ("block: remove the error_sector argument to blkdev_issue_flush")

Gah, I'll fold in the fix. Thanks Stephen.

--
Jens Axboe