diff options
author | David Howells <dhowells@redhat.com> | 2013-04-12 11:17:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-01 17:29:43 -0400 |
commit | e42270a19e357d7808890bdbeb0cae97f2a2d234 (patch) | |
tree | 9d8716ba61855be0479e9bd8ef859dbec79c3e05 /fs/nls/mac-inuit.c | |
parent | 4a520d2769beb736ba2bd084b8293ce148a1a7ae (diff) | |
download | linux-e42270a19e357d7808890bdbeb0cae97f2a2d234.tar.bz2 |
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 'fs/nls/mac-inuit.c')
0 files changed, 0 insertions, 0 deletions