The patch titled From: Jun Piao <piaojun@xxxxxxxxxx> has been added to the -mm tree. Its filename is ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jun Piao <piaojun@xxxxxxxxxx> Subject: ocfs2: clean up unused parameter 'count' in o2hb_read_block_input() Clean up unused parameter 'count' in o2hb_read_block_input(). Signed-off-by: Jun Piao <piaojun@xxxxxxxxxx> Reviewed-by: Joseph Qi <joseph.qi@xxxxxxxxxx> Cc: Mark Fasheh <mfasheh@xxxxxxx> Cc: Joel Becker <jlbec@xxxxxxxxxxxx> Cc: Junxiao Bi <junxiao.bi@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/cluster/heartbeat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN fs/ocfs2/cluster/heartbeat.c~ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input fs/ocfs2/cluster/heartbeat.c --- a/fs/ocfs2/cluster/heartbeat.c~ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input +++ a/fs/ocfs2/cluster/heartbeat.c @@ -1456,7 +1456,6 @@ static void o2hb_region_release(struct c static int o2hb_read_block_input(struct o2hb_region *reg, const char *page, - size_t count, unsigned long *ret_bytes, unsigned int *ret_bits) { @@ -1499,8 +1498,8 @@ static ssize_t o2hb_region_block_bytes_s if (reg->hr_bdev) return -EINVAL; - status = o2hb_read_block_input(reg, page, count, - &block_bytes, &block_bits); + status = o2hb_read_block_input(reg, page, &block_bytes, + &block_bits); if (status) return status; _ Patches currently in -mm which might be from piaojun@xxxxxxxxxx are ocfs2-clean-up-an-unused-variable-wants_rotate-in-ocfs2_truncate_rec.patch ocfs2-clean-up-unused-parameter-count-in-o2hb_read_block_input.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html