ocfs2: there is no need to log twice in several functions
PATCH 1/2 ocfs2: there is no need to log twice in several functions
There is no need to log twice in several functions.
Signed-off-by Yan Wang <[email protected]>
Reviewed-by Jun Piao <[email protected]>
--- fs/ocfs2/alloc.c | 1 - fs/ocfs2/suballoc.c | 5 ----- 2 files changed, 6 deletions(-)
fs/ocfs2/alloc.c +0 -1
@@ -1060,7 +1060,6 @@ static int ocfs2_create_new_meta_bhs(handle_t *handle,brelse (bhs[i]); bhs[i] =NULL ; } -mlog_errno (status); }return status; }
fs/ocfs2/suballoc.c +0 -5
@@ -2509,9 +2509,6 @@ static int _ocfs2_free_suballoc_bits(handle_t *handle, bail:brelse (group_bh); - -if (status) -mlog_errno (status);return status; }
@@ -2582,8 +2579,6 @@ static int _ocfs2_free_clusters(handle_t *handle, num_clusters); out: -if (status) -mlog_errno (status);return status; }
Signature · 1 line
2.19.1
Joseph Qi
maintainerPATCH 1/2 ocfs2: there is no need to log twice in several functions
Quoted 4 lines · wangyan
There is no need to log twice in several functions.
Signed-off-by Yan Wang <[email protected]>Reviewed-by Jun Piao <[email protected]>
Acked-by Joseph Qi <[email protected]>
Quoted 40 lines
--- fs/ocfs2/alloc.c | 1 - fs/ocfs2/suballoc.c | 5 ----- 2 files changed, 6 deletions(-)fs/ocfs2/alloc.c +0
-1@@ -1060,7 +1060,6 @@ static int ocfs2_create_new_meta_bhs(handle_t *handle,brelse (bhs[i]); bhs[i] =NULL ; } -mlog_errno (status); }return status; }fs/ocfs2/suballoc.c +0
-5@@ -2509,9 +2509,6 @@ static int _ocfs2_free_suballoc_bits(handle_t *handle, bail:brelse (group_bh); - -if (status) -mlog_errno (status);return status; }@@ -2582,8 +2579,6 @@ static int _ocfs2_free_clusters(handle_t *handle, num_clusters); out: -if (status) -mlog_errno (status);return status; }