Subject: + ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super.patch added to -mm tree To: joseph.qi@xxxxxxxxxx,jlbec@xxxxxxxxxxxx,mfasheh@xxxxxxxx,xuejiufei@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 29 May 2014 15:57:32 -0700 The patch titled Subject: ocfs2: cleanup unused paramters in ocfs2_calc_new_backup_super has been added to the -mm tree. Its filename is ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super.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: Joseph Qi <joseph.qi@xxxxxxxxxx> Subject: ocfs2: cleanup unused paramters in ocfs2_calc_new_backup_super Parameters new_clusters and first_new_cluster are not used in ocfs2_update_last_group_and_inode, so remove them. Signed-off-by: Joseph Qi <joseph.qi@xxxxxxxxxx> Reviewed-by: joyce.xue <xuejiufei@xxxxxxxxxx> Cc: Mark Fasheh <mfasheh@xxxxxxxx> Cc: Joel Becker <jlbec@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/resize.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN fs/ocfs2/resize.c~ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super fs/ocfs2/resize.c --- a/fs/ocfs2/resize.c~ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super +++ a/fs/ocfs2/resize.c @@ -53,8 +53,6 @@ */ static u16 ocfs2_calc_new_backup_super(struct inode *inode, struct ocfs2_group_desc *gd, - int new_clusters, - u32 first_new_cluster, u16 cl_cpg, int set) { @@ -127,8 +125,6 @@ static int ocfs2_update_last_group_and_i OCFS2_FEATURE_COMPAT_BACKUP_SB)) { backups = ocfs2_calc_new_backup_super(bm_inode, group, - new_clusters, - first_new_cluster, cl_cpg, 1); le16_add_cpu(&group->bg_free_bits_count, -1 * backups); } @@ -167,8 +163,6 @@ out_rollback: if (ret < 0) { ocfs2_calc_new_backup_super(bm_inode, group, - new_clusters, - first_new_cluster, cl_cpg, 0); le16_add_cpu(&group->bg_free_bits_count, backups); le16_add_cpu(&group->bg_bits, -1 * num_bits); _ Patches currently in -mm which might be from joseph.qi@xxxxxxxxxx are ocfs2-limit-printk-when-journal-is-aborted.patch ocfs2-limit-printk-when-journal-is-aborted-fix.patch ocfs2-cleanup-unused-paramters-in-ocfs2_calc_new_backup_super.patch ocfs2-fix-a-tiny-race-when-running-dirop_fileop_racer.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