Commit aa6913db authored by Jun Piao's avatar Jun Piao Committed by Linus Torvalds

ocfs2: clean up unused parameter 'count' in o2hb_read_block_input()

Clean up unused parameter 'count' in o2hb_read_block_input().
Signed-off-by: default avatarJun Piao <piaojun@huawei.com>
Reviewed-by: default avatarJoseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c14688ea
...@@ -1456,7 +1456,6 @@ static void o2hb_region_release(struct config_item *item) ...@@ -1456,7 +1456,6 @@ static void o2hb_region_release(struct config_item *item)
static int o2hb_read_block_input(struct o2hb_region *reg, static int o2hb_read_block_input(struct o2hb_region *reg,
const char *page, const char *page,
size_t count,
unsigned long *ret_bytes, unsigned long *ret_bytes,
unsigned int *ret_bits) unsigned int *ret_bits)
{ {
...@@ -1499,8 +1498,8 @@ static ssize_t o2hb_region_block_bytes_store(struct config_item *item, ...@@ -1499,8 +1498,8 @@ static ssize_t o2hb_region_block_bytes_store(struct config_item *item,
if (reg->hr_bdev) if (reg->hr_bdev)
return -EINVAL; return -EINVAL;
status = o2hb_read_block_input(reg, page, count, status = o2hb_read_block_input(reg, page, &block_bytes,
&block_bytes, &block_bits); &block_bits);
if (status) if (status)
return status; return status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment