diff options
author | Jan Kara <jack@suse.cz> | 2018-06-13 18:04:24 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-06-20 11:05:49 +0200 |
commit | 6c1e4d06a3808dc67dbce2d631f4c12574567dd5 (patch) | |
tree | bab68d508957807001113b27c516d7b760ce2fce /fs/udf/balloc.c | |
parent | f2e83347119acc0412941c5a23d895624c9300e2 (diff) | |
download | linux-6c1e4d06a3808dc67dbce2d631f4c12574567dd5.tar.bz2 |
udf: Drop unused arguments of udf_delete_aext()
udf_delete_aext() uses its last two arguments only as local variables.
Drop them.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/balloc.c')
-rw-r--r-- | fs/udf/balloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c index 1b961b1d9699..fcda0fc97b90 100644 --- a/fs/udf/balloc.c +++ b/fs/udf/balloc.c @@ -533,8 +533,7 @@ static int udf_table_prealloc_blocks(struct super_block *sb, udf_write_aext(table, &epos, &eloc, (etype << 30) | elen, 1); } else - udf_delete_aext(table, epos, eloc, - (etype << 30) | elen); + udf_delete_aext(table, epos); } else { alloc_count = 0; } @@ -630,7 +629,7 @@ static udf_pblk_t udf_table_new_block(struct super_block *sb, if (goal_elen) udf_write_aext(table, &goal_epos, &goal_eloc, goal_elen, 1); else - udf_delete_aext(table, goal_epos, goal_eloc, goal_elen); + udf_delete_aext(table, goal_epos); brelse(goal_epos.bh); udf_add_free_space(sb, partition, -1); |