dgrp procfs fixes, part 6: just use proc_create{,_data}
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Mar 2013 05:07:56 +0000 (01:07 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:09 +0000 (14:13 -0400)
commit895b5599ba20cb663af9281050dc83cd7ae91843
tree5253fe929e824b1dde3b56319ba325e949cf6d22
parentaf064cdde64d58feb315dba268e1f8439fb935be
dgrp procfs fixes, part 6: just use proc_create{,_data}

->permission() of its own is a rudiment of sysctl imitation;
normal procfs logics will do just fine here, no need to
mess with ->proc_iops at all.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/dgrp/dgrp_common.c
drivers/staging/dgrp/dgrp_common.h
drivers/staging/dgrp/dgrp_specproc.c