[Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup trace events

Joseph Qi joseph.qi at linux.alibaba.com
Sun May 28 13:20:33 UTC 2023


After commit 6dc8bc0fb300, ocfs2 has switches from
ocfs2_file_splice_write() to iter_file_splice_write(), so cleanup the
corresponding trace event as well.

Signed-off-by: Joseph Qi <joseph.qi at linux.alibaba.com>
---
 fs/ocfs2/ocfs2_trace.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/ocfs2/ocfs2_trace.h b/fs/ocfs2/ocfs2_trace.h
index dc4bce1649c1..26effa583be0 100644
--- a/fs/ocfs2/ocfs2_trace.h
+++ b/fs/ocfs2/ocfs2_trace.h
@@ -1315,8 +1315,6 @@ DEFINE_OCFS2_FILE_OPS(ocfs2_sync_file);
 
 DEFINE_OCFS2_FILE_OPS(ocfs2_file_write_iter);
 
-DEFINE_OCFS2_FILE_OPS(ocfs2_file_splice_write);
-
 DEFINE_OCFS2_FILE_OPS(ocfs2_file_read_iter);
 
 DEFINE_OCFS2_ULL_ULL_ULL_EVENT(ocfs2_truncate_file);
-- 
2.24.4




More information about the Ocfs2-devel mailing list