lkml.org 
[lkml]   [2015]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 00/11] ocfs2: Deletion of some unnecessary checks
From: Markus Elfring <elfring@users.sourceforge.net>

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



\
 
 \ /
  Last update: 2015-07-05 15:41    [W:1.386 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site