usb: musb_debugfs: don't use the struct file private_data field with seq_files
authorMathias Nyman <mathias.nyman@nokia.com>
Mon, 6 Sep 2010 10:52:01 +0000 (13:52 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:04:56 +0000 (16:04 -0700)
seq_files use the private_data field of a file struct for storing a seq_file structure,
data should be stored in seq_file's own private field (e.g. file->private_data->private)
Otherwise seq_release() will free the private data when the file is closed.

Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found