diff options
author | Mathias Nyman <[email protected]> | 2010-09-06 13:52:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-09-20 16:04:56 -0700 |
commit | 024cfa5943a7e89565c60b612d698c2bfb3da66a (patch) | |
tree | 031e0d89f8066dbd4099f870cbd82fe0aa4d75db /lib/string_helpers.c | |
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 <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions