From cb5bc8557a506ac5890619463c1f4f50819e2a85 Mon Sep 17 00:00:00 2001 From: wangyan Date: Wed, 1 Apr 2020 21:03:35 -0700 Subject: 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 Signed-off-by: Andrew Morton Reviewed-by: Jun Piao Acked-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Cc: Junxiao Bi Cc: Changwei Ge Cc: Gang He Link: http://lkml.kernel.org/r/77eec86a-f634-5b98-4f7d-0cd15185a37b@huawei.com Signed-off-by: Linus Torvalds --- fs/ocfs2/suballoc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fs/ocfs2/suballoc.c') diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 939df99d2dec..4836becb7578 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c @@ -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; } -- cgit v1.2.3