ocfs2-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ocfs2-devel] [patch -next] ocfs2: Add the trace_ocfs2_read_blocks_end
@ 2020-10-16  9:11 Zhang Qilong
  2020-10-19  7:46 ` Joseph Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Qilong @ 2020-10-16  9:11 UTC (permalink / raw)
  To: ocfs2-devel

Missing the trace_ocfs2_read_blocks_end when reading blocks fails.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
---
 fs/ocfs2/buffer_head_io.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
index f0b104e483d8..0e6ee6e9b201 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -395,11 +395,10 @@ int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
 	}
 	ocfs2_metadata_cache_io_unlock(ci);
 
+bail:
 	trace_ocfs2_read_blocks_end((unsigned long long)block, nr,
 				    flags, ignore_cache);
 
-bail:
-
 	return status;
 }
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-19  8:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16  9:11 [Ocfs2-devel] [patch -next] ocfs2: Add the trace_ocfs2_read_blocks_end Zhang Qilong
2020-10-19  7:46 ` Joseph Qi
2020-10-19  8:07   ` [Ocfs2-devel] 答复: " zhangqilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).