diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-23 17:49:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-23 17:49:42 +0300 |
commit | bad0d7a6a7d61f129b9ebffc43acd2056bfb4def (patch) | |
tree | 0adf97def04736573103a0cf09d526b7aaa4b5b5 /fs/ext4/inline.c | |
parent | 5c40cd7db64a2949f268d7467b9be551a565d14b (diff) | |
parent | fd590381da18a801b7fea1a258e1760335607b10 (diff) | |
download | linux-rolling-stable.tar.xz |
Merge v6.16.3linux-rolling-stable
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r-- | fs/ext4/inline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 05313c8ffb9c..38874d62f88c 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c @@ -570,7 +570,7 @@ static int ext4_convert_inline_data_to_extent(struct address_space *mapping, return 0; } - needed_blocks = ext4_writepage_trans_blocks(inode); + needed_blocks = ext4_chunk_trans_extent(inode, 1); ret = ext4_get_inode_loc(inode, &iloc); if (ret) @@ -1874,7 +1874,7 @@ int ext4_inline_data_truncate(struct inode *inode, int *has_inline) }; - needed_blocks = ext4_writepage_trans_blocks(inode); + needed_blocks = ext4_chunk_trans_extent(inode, 1); handle = ext4_journal_start(inode, EXT4_HT_INODE, needed_blocks); if (IS_ERR(handle)) return PTR_ERR(handle); @@ -1994,7 +1994,7 @@ int ext4_convert_inline_data(struct inode *inode) return 0; } - needed_blocks = ext4_writepage_trans_blocks(inode); + needed_blocks = ext4_chunk_trans_extent(inode, 1); iloc.bh = NULL; error = ext4_get_inode_loc(inode, &iloc); |