nfs: cleanup tracepoint declarations
Subsystems (2)
PATCH 1/1 nfs: cleanup tracepoint declarations
Cleanup tracepoint declarations by replacing commas with semicolons to better match other tracepoint declarations.
No functional changes introduced.
Signed-off-by Leo Martins <[email protected]>
--- fs/nfs/nfstrace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
fs/nfs/nfstrace.h +3 -3
@@ -966,7 +966,7 @@ DECLARE_EVENT_CLASS(nfs_folio_event, __entry->fileid = nfsi->fileid; __entry->fhandle =nfs_fhandle_hash (&nfsi->fh); __entry->version =inode_peek_iversion_raw (inode); - __entry->offset = offset, + __entry->offset = offset; __entry->count = count; ),
@@ -1016,8 +1016,8 @@ DECLARE_EVENT_CLASS(nfs_folio_event_done, __entry->fileid = nfsi->fileid; __entry->fhandle =nfs_fhandle_hash (&nfsi->fh); __entry->version =inode_peek_iversion_raw (inode); - __entry->offset = offset, - __entry->count = count, + __entry->offset = offset; + __entry->count = count; __entry->ret = ret; ),
Signature · 1 line
2.47.3
Quoted 24 lines · Leo Martins
Cleanup tracepoint declarations by replacing commas with semicolons to better match other tracepoint declarations.
No functional changes introduced.
Signed-off-by Leo Martins <[email protected]>--- fs/nfs/nfstrace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)fs/nfs/nfstrace.h +1
-1@@ -966,7 +966,7 @@ DECLARE_EVENT_CLASS(nfs_folio_event, __entry->fileid = nfsi->fileid; __entry->fhandle =nfs_fhandle_hash (&nfsi->fh); __entry->version =inode_peek_iversion_raw (inode); - __entry->offset = offset, + __entry->offset = offset; __entry->count = count; ),
fs/nfs/nfstrace.h DECLARE_EVENT_CLASS(nfs_folio_event_done, · line 1023
Quoted 10 lines
fs/nfs/nfstrace.h +2
-2@@ -1016,8 +1016,8 @@ DECLARE_EVENT_CLASS(nfs_folio_event_done, __entry->fileid = nfsi->fileid; __entry->fhandle =nfs_fhandle_hash (&nfsi->fh); __entry->version =inode_peek_iversion_raw (inode); - __entry->offset = offset, - __entry->count = count, + __entry->offset = offset; + __entry->count = count; __entry->ret = ret; ),
Harmless in this case (luckily), but it's nice to remove a potential footgun.
Reviewed-by Jeff Layton <[email protected]>