summaryrefslogtreecommitdiff
path: root/fs/ext2/xattr.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2023-08-15 14:26:10 +0300
committerJan Kara <jack@suse.cz>2023-08-16 18:42:42 +0300
commitb450159d0903b06ebea121a010ab9c424b67c408 (patch)
treeb75bd71872b7fdb0c817601796e1f8adb434c64a /fs/ext2/xattr.c
parent2445a8a1922b46c56189203f7fdc1e1cb2a47cdd (diff)
downloadlinux-b450159d0903b06ebea121a010ab9c424b67c408.tar.xz
ext2: introduce new flags argument for ext2_new_blocks()
This patch introduces a new flags argument for ext2_new_blocks() and also a new EXT2_ALLOC_NORESERVE flag. Signed-off-by: Ye Bin <yebin10@huawei.com> Message-Id: <20230815112612.221145-3-yebin10@huawei.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/xattr.c')
-rw-r--r--fs/ext2/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index 06933eabac26..3b4ff6974ab8 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -744,7 +744,7 @@ ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh,
EXT2_I(inode)->i_block_group);
unsigned long count = 1;
ext2_fsblk_t block = ext2_new_blocks(inode, goal,
- &count, &error);
+ &count, &error, 0);
if (error)
goto cleanup;
ea_idebug(inode, "creating block %lu", block);