Skip to content

fs: ocfs2: use seq_open_private()

Rob Jones lkml ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fs: ocfs2: use seq_open_private() not seq_open()fs/ocfs2/dlm/dlmdebug.c+14 -250 replies
2/3fs: ocfs2: use seq_open_private() not seq_open()fs/ocfs2/cluster/netdebug.c+19 -590 replies
3/3fs: ocfs2: Use __seq_open_private() not seq_open()fs/ocfs2/dlmglue.c+5 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] fs: ocfs2: use seq_open_private()

Use seq_open_private() and __seq_open_private() to reduce boilerplate code in ocfs2.

These two functions have been around, undocumented, for years. They can simplify the set up code for seq file operations.

Note that sparse complains about all three files in this series but the problems are outside the remit of this patch series.

Rob Jones (3):
fs: ocfs2: use seq_open_private() not seq_open()
fs: ocfs2: use seq_open_private() not seq_open()
fs: ocfs2: Use __seq_open_private() not seq_open()

 fs/ocfs2/cluster/netdebug.c |   78 +++++++++++--------------------------------
 fs/ocfs2/dlm/dlmdebug.c     |   39 ++++++++--------------
 fs/ocfs2/dlmglue.c          |   23 +++----------
 3 files changed, 38 insertions(+), 102 deletions(-)
Signature · 1 line
1.7.10.4