diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-22 20:31:43 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-08 20:28:19 +0200 |
commit | 9d6b0cd7579844761ed68926eb3073bab1dca87b (patch) | |
tree | 3ce0cac6f78dd8f35e14feabde165fdd143ac42f /block | |
parent | fs: Remove aop flags parameter from nobh_write_begin() (diff) | |
download | linux-9d6b0cd7579844761ed68926eb3073bab1dca87b.tar.xz linux-9d6b0cd7579844761ed68926eb3073bab1dca87b.zip |
fs: Remove flags parameter from aops->write_begin
There are no more aop flags left, so remove the parameter.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block')
-rw-r--r-- | block/fops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/fops.c b/block/fops.c index b432756570c6..712affe56e29 100644 --- a/block/fops.c +++ b/block/fops.c @@ -398,8 +398,7 @@ static void blkdev_readahead(struct readahead_control *rac) } static int blkdev_write_begin(struct file *file, struct address_space *mapping, - loff_t pos, unsigned len, unsigned flags, struct page **pagep, - void **fsdata) + loff_t pos, unsigned len, struct page **pagep, void **fsdata) { return block_write_begin(mapping, pos, len, pagep, blkdev_get_block); } |