You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
fs: kill block_prepare_write
__block_write_begin and block_prepare_write are identical except for slightly different calling conventions. Convert all callers to the __block_write_begin calling conventions and drop block_prepare_write. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
committed by
Al Viro
parent
56b0dacfa2
commit
ebdec241d5
+2
-2
@@ -1696,8 +1696,8 @@ static int ext3_journalled_writepage(struct page *page,
|
||||
* doesn't seem much point in redirtying the page here.
|
||||
*/
|
||||
ClearPageChecked(page);
|
||||
ret = block_prepare_write(page, 0, PAGE_CACHE_SIZE,
|
||||
ext3_get_block);
|
||||
ret = __block_write_begin(page, 0, PAGE_CACHE_SIZE,
|
||||
ext3_get_block);
|
||||
if (ret != 0) {
|
||||
ext3_journal_stop(handle);
|
||||
goto out_unlock;
|
||||
|
||||
Reference in New Issue
Block a user