ocfs2: Deletion of some unnecessary checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 3 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] ocfs2: Deletion of some unnecessary checks
From: Markus Elfring <[email protected]>
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(-)
Signature · 1 line
2.4.5