mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ext4: remove unused parameter "newblock" in convert_initialized_extent()
The "newblock" parameter is not used in convert_initialized_extent(), remove it. Signed-off-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
bcff24887d
commit
56263b4ceb
1 changed files with 2 additions and 2 deletions
|
@ -3928,7 +3928,7 @@ static int
|
||||||
convert_initialized_extent(handle_t *handle, struct inode *inode,
|
convert_initialized_extent(handle_t *handle, struct inode *inode,
|
||||||
struct ext4_map_blocks *map,
|
struct ext4_map_blocks *map,
|
||||||
struct ext4_ext_path **ppath, int flags,
|
struct ext4_ext_path **ppath, int flags,
|
||||||
unsigned int allocated, ext4_fsblk_t newblock)
|
unsigned int allocated)
|
||||||
{
|
{
|
||||||
struct ext4_ext_path *path = *ppath;
|
struct ext4_ext_path *path = *ppath;
|
||||||
struct ext4_extent *ex;
|
struct ext4_extent *ex;
|
||||||
|
@ -4347,7 +4347,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
|
||||||
(flags & EXT4_GET_BLOCKS_CONVERT_UNWRITTEN)) {
|
(flags & EXT4_GET_BLOCKS_CONVERT_UNWRITTEN)) {
|
||||||
allocated = convert_initialized_extent(
|
allocated = convert_initialized_extent(
|
||||||
handle, inode, map, &path,
|
handle, inode, map, &path,
|
||||||
flags, allocated, newblock);
|
flags, allocated);
|
||||||
goto out2;
|
goto out2;
|
||||||
} else if (!ext4_ext_is_unwritten(ex))
|
} else if (!ext4_ext_is_unwritten(ex))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Add table
Reference in a new issue