[PATCH 0/2] fs: proc: use seq_open_private()

From: Rob Jones
Date: Fri Sep 12 2014 - 10:09:53 EST


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@xxxxxxxxxxxxxxx>


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/