summaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2023-08-15 13:26:10 +0200
committerJan Kara <jack@suse.cz>2023-08-16 17:42:42 +0200
commitb450159d0903b06ebea121a010ab9c424b67c408 (patch)
treeb75bd71872b7fdb0c817601796e1f8adb434c64a /fs/ext2/xattr.c
parentext2: remove ext2_new_block() (diff)
downloadlinux-b450159d0903b06ebea121a010ab9c424b67c408.tar.xz
linux-b450159d0903b06ebea121a010ab9c424b67c408.zip
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 '')
-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);