summaryrefslogtreecommitdiff
path: root/fs/proc/page.c
diff options
context:
space:
mode:
authorJovi Zhang <bookjovi@gmail.com>2011-01-12 17:00:34 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 08:03:16 -0800
commitc6a340584607f653e10549c76dd427d4780c8f2c (patch)
tree20e82a1dd34f4b2f7477bf02b398759ba026d772 /fs/proc/page.c
parent6d1b6e4eff89475785f60fa00f65da780f869f36 (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