David Howells e42270a19e 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>
2013-05-01 17:29:43 -04:00
..
2013-04-09 14:13:32 -04:00
2013-04-09 14:08:16 -04:00
2013-03-11 22:05:56 +01:00
2013-04-09 14:13:32 -04:00
2013-04-09 14:13:05 -04:00
2013-03-12 18:55:21 -07:00
2013-04-09 14:13:01 -04:00
2013-04-29 15:41:42 -04:00
2013-03-12 18:55:21 -07:00
2013-04-09 14:13:32 -04:00
2013-03-26 14:23:45 -07:00
2013-04-09 14:13:00 -04:00
2013-03-12 18:55:21 -07:00
2013-04-29 15:40:23 -04:00
2013-04-29 15:40:23 -04:00
2013-04-29 15:40:23 -04:00
2013-02-22 23:31:31 -05:00
2013-03-26 18:25:57 -04:00
2013-04-29 15:40:23 -04:00
2013-02-22 23:31:31 -05:00
2013-02-28 13:21:44 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-04-09 14:12:58 -04:00
2013-02-22 23:31:31 -05:00
2013-04-09 14:13:29 -04:00
2013-04-09 14:13:01 -04:00
2013-02-26 02:46:08 -05:00
2013-02-22 23:31:31 -05:00