linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fs: proc: use seq_open_private()
@ 2014-09-12 14:09 Rob Jones
  2014-09-12 14:09 ` [PATCH 1/2] fs: proc: use __seq_open_private() Rob Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Rob Jones @ 2014-09-12 14:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, linux-kernel, rob.jones

Use __seq_open_private() to reduce boilerplate code in proc.

This function has been around, undocumented, for years. It can simplify
the set up code for seq file operations.

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


Rob Jones (2):
  fs: proc: use __seq_open_private()
  fs: proc: use __seq_open_private()

 fs/proc/task_mmu.c   |   42 ++++++++++++++++--------------------------
 fs/proc/task_nommu.c |   22 ++++++++--------------
 2 files changed, 24 insertions(+), 40 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2014-09-29 16:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12 14:09 [PATCH 0/2] fs: proc: use seq_open_private() Rob Jones
2014-09-12 14:09 ` [PATCH 1/2] fs: proc: use __seq_open_private() Rob Jones
2014-09-12 21:54   ` Andrew Morton
2014-09-15 13:42     ` Rob Jones
2014-09-29 16:02     ` Rob Jones
2014-09-12 14:09 ` [PATCH 2/2] " Rob Jones
2014-09-12 21:50 ` [PATCH 0/2] fs: proc: use seq_open_private() Andrew Morton
2014-09-15  7:21   ` Rob Jones
2014-09-15  7:27     ` Andrew Morton

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