Subject: + ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch added to -mm tree To: jeff.liu@xxxxxxxxxx,gurudas.pai@xxxxxxxxxx,jlbec@xxxxxxxxxxxx,mfasheh@xxxxxxxx,n_iwamatsu@xxxxxxxxxxxxxx,srinivas.eeda@xxxxxxxxxx,sunil.mushran@xxxxxxxxx,tm@xxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 01 Jul 2013 16:18:56 -0700 The patch titled Subject: ocfs2: adjust switch_case syntax at o2net_state_change() has been added to the -mm tree. Its filename is ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-adjust-switch_case-syntax-at-o2net_state_change.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: Jie Liu <jeff.liu@xxxxxxxxxx> Subject: ocfs2: adjust switch_case syntax at o2net_state_change() Adjust switch..case syntax at o2net_state_change to meet the kernel coding standard. s/printk/pr_info/. Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx> Acked-by: Joel Becker <jlbec@xxxxxxxxxxxx> Cc: Gurudas Pai <gurudas.pai@xxxxxxxxxx> Cc: Mark Fasheh <mfasheh@xxxxxxxx> Cc: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx> Cc: Srinivas Eeeda <srinivas.eeda@xxxxxxxxxx> Cc: Sunil Mushran <sunil.mushran@xxxxxxxxx> Cc: Tao Ma <tm@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/cluster/tcp.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff -puN fs/ocfs2/cluster/tcp.c~ocfs2-adjust-switch_case-syntax-at-o2net_state_change fs/ocfs2/cluster/tcp.c --- a/fs/ocfs2/cluster/tcp.c~ocfs2-adjust-switch_case-syntax-at-o2net_state_change +++ a/fs/ocfs2/cluster/tcp.c @@ -633,19 +633,19 @@ static void o2net_state_change(struct so state_change = sc->sc_state_change; switch(sk->sk_state) { - /* ignore connecting sockets as they make progress */ - case TCP_SYN_SENT: - case TCP_SYN_RECV: - break; - case TCP_ESTABLISHED: - o2net_sc_queue_work(sc, &sc->sc_connect_work); - break; - default: - printk(KERN_INFO "o2net: Connection to " SC_NODEF_FMT - " shutdown, state %d\n", - SC_NODEF_ARGS(sc), sk->sk_state); - o2net_sc_queue_work(sc, &sc->sc_shutdown_work); - break; + /* ignore connecting sockets as they make progress */ + case TCP_SYN_SENT: + case TCP_SYN_RECV: + break; + case TCP_ESTABLISHED: + o2net_sc_queue_work(sc, &sc->sc_connect_work); + break; + default: + pr_info(KERN_INFO "o2net: Connection to " SC_NODEF_FMT + " shutdown, state %d\n", + SC_NODEF_ARGS(sc), sk->sk_state); + o2net_sc_queue_work(sc, &sc->sc_shutdown_work); + break; } out: read_unlock(&sk->sk_callback_lock); _ Patches currently in -mm which might be from jeff.liu@xxxxxxxxxx are linux-next.patch ocfs2-should-not-use-le32_add_cpu-to-set-ocfs2_dinode-i_flags.patch ocfs2-add-missing-dlm_put-in-dlm_begin_reco_handler.patch ocfs2-remove-unecessary-variable-needs_checkpoint.patch ocfs2-fix-mutex_unlock-and-possible-memory-leak-in-ocfs2_remove_btree_range.patch fs-ocfs2-journalh-add-bits_wanted-while-calculating-credits-in-ocfs2_calc_extend_credits.patch fs-ocfs2-cluster-tcpc-free-sc-sc_page-in-sc_kref_release.patch ocfs2-xattr-remove-useless-free-space-checking.patch ocfs2-xattr-remove-useless-free-space-checking-fix.patch ocfs2-should-call-ocfs2_journal_access_di-before-ocfs2_delete_entry-in-ocfs2_orphan_del.patch ocfs2-dlmlock_master-should-return-dlm_normal-after-adding-lock-to-blocked-list.patch ocfs2-need-rollback-when-journal_access-failed-in-ocfs2_orphan_add.patch ocfs2-need-rollback-when-journal_access-failed-in-ocfs2_orphan_add-v3.patch ocfs2-rework-transaction-rollback-in-ocfs2_relink_block_group.patch ocfs2-rework-transaction-rollback-in-ocfs2_relink_block_group-fix.patch ocfs2-fix-readonly-issue-in-ocfs2_unlink.patch ocfs2-fix-readonly-issue-in-ocfs2_unlink-fix.patch ocfs2-fix-readonly-issue-in-ocfs2_unlink-fix-2.patch ocfs2-llseek-requires-ocfs2-inode-lock-for-the-file-in-seek_end.patch ocfs2-fix-issue-that-ocfs2_setattr-does-not-deal-with-new_i_size==i_size.patch ocfs2-fix-issue-that-ocfs2_setattr-does-not-deal-with-new_i_size==i_size-v2.patch ocfs2-xattr-fix-inlined-xattr-reflink.patch ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch ocfs2-consolidate-o2hb_global_hearbeat_mode_set-naming-convention.patch ocfs2-fix-a-comments-typo-at-o2quo_hb_still_up.patch ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.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