mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] fs: ocfs2: use seq_open_private()
@ 2014-09-10 14:49 Rob Jones
  2014-09-10 14:49 ` [PATCH 1/3] fs: ocfs2: use seq_open_private() not seq_open() Rob Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rob Jones @ 2014-09-10 14:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: ocfs2-devel, dan.carpenter, akpm, jlbec, mfasheh, linux-kernel,
	rob.jones

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.

Signed-off-by: Rob Jones <rob.jones@codethink.co.uk>

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(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2014-09-10 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10 14:49 [PATCH 0/3] fs: ocfs2: use seq_open_private() Rob Jones
2014-09-10 14:49 ` [PATCH 1/3] fs: ocfs2: use seq_open_private() not seq_open() Rob Jones
2014-09-10 14:49 ` [PATCH 2/3] " Rob Jones
2014-09-10 14:49 ` [PATCH 3/3] fs: ocfs2: Use __seq_open_private() " Rob Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®