diff options
author | Jovi Zhang <bookjovi@gmail.com> | 2011-01-12 17:00:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:16 -0800 |
commit | c6a340584607f653e10549c76dd427d4780c8f2c (patch) | |
tree | 20e82a1dd34f4b2f7477bf02b398759ba026d772 /fs/proc/page.c | |
parent | 6d1b6e4eff89475785f60fa00f65da780f869f36 (diff) |
proc: use single_open() correctly
single_open()'s third argument is for copying into seq_file->private. Use
that, rather than open-coding it.
Signed-off-by: Jovi Zhang <bookjovi@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/page.c')
0 files changed, 0 insertions, 0 deletions