diff options
author | Ye Bin <yebin10@huawei.com> | 2023-08-15 14:26:10 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-08-16 18:42:42 +0300 |
commit | b450159d0903b06ebea121a010ab9c424b67c408 (patch) | |
tree | b75bd71872b7fdb0c817601796e1f8adb434c64a /fs/ext2/inode.c | |
parent | 2445a8a1922b46c56189203f7fdc1e1cb2a47cdd (diff) | |
download | linux-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/inode.c')
-rw-r--r-- | fs/ext2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 75983215c7a1..39c958f7e028 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -415,7 +415,7 @@ static int ext2_alloc_blocks(struct inode *inode, while (1) { count = target; /* allocating blocks for indirect blocks and direct blocks */ - current_block = ext2_new_blocks(inode,goal,&count,err); + current_block = ext2_new_blocks(inode, goal, &count, err, 0); if (*err) goto failed_out; |