summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-12 10:17:06 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-01 21:29:43 (GMT)
commite42270a19e357d7808890bdbeb0cae97f2a2d234 (patch)
tree9d8716ba61855be0479e9bd8ef859dbec79c3e05 /drivers/media
parent4a520d2769beb736ba2bd084b8293ce148a1a7ae (diff)
downloadlinux-e42270a19e357d7808890bdbeb0cae97f2a2d234.tar.xz
reiserfs: Don't access the proc_dir_entry in r_open(), r_start() r_show()
Don't access the proc_dir_entry in ReiserFS's r_open(), r_start() r_show() procfs interface functions. ReiserFS stores the ->show() method pointer in PDE->data and the super_block pointer in PDE->parent->data. This isn't changing. Currently, ReiserFS passes the PDE pointer into seq_file::private from r_open() so that r_start() and r_show() can then access it. Instead, use seq_open_private() to allocate a two-pointer struct that's passed through seq_file::private and put the ->show() method and the sb pointers in there. Signed-off-by: David Howells <dhowells@redhat.com> cc: reiserfs-devel@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions