[PATCH 00/11] ocfs2: Deletion of some unnecessary checks

From: SF Markus Elfring
Date: Sun Jul 05 2015 - 09:15:53 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Further update suggestions were taken into account after two patches
were applied from static source code analysis.

Markus Elfring (11):
Delete an unnecessary check before unregister_sysctl_table()
Delete unnecessary checks before the function call "iput"
Less checks in ocfs2_rename() after error detection
One check less in ocfs2_statfs()
Less error log repetition in ocfs2_begin_truncate_log_recovery()
Two checks less in ocfs2_local_alloc_slide_window()
Less function calls in ocfs2_shutdown_local_alloc() after error detection
Less checks in ocfs2_load_local_alloc()
One function call less in ocfs2_trylock_journal() after error detection
Less function calls in ocfs2_replay_journal() after error detection
One function call less in ocfs2_journal_shutdown() from input checks

fs/ocfs2/alloc.c | 24 +++++++--------
fs/ocfs2/ioctl.c | 4 +--
fs/ocfs2/journal.c | 62 +++++++++++++++----------------------
fs/ocfs2/localalloc.c | 84 +++++++++++++++++++++------------------------------
fs/ocfs2/namei.c | 17 +++++------
fs/ocfs2/slot_map.c | 3 +-
fs/ocfs2/stackglue.c | 3 +-
fs/ocfs2/super.c | 22 ++++++--------
8 files changed, 90 insertions(+), 129 deletions(-)

--
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/