commit | 024cfa5943a7e89565c60b612d698c2bfb3da66a | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@nokia.com> | Mon Sep 06 13:52:01 2010 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 20 16:04:56 2010 -0700 |
tree | 031e0d89f8066dbd4099f870cbd82fe0aa4d75db | |
parent | 2422084a94fcd5038406261b331672a13c92c050 [diff] |
usb: musb_debugfs: don't use the struct file private_data field with seq_files 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>