[PATCH v1 3/3] fs: documents seq_open()'s usage of file->private_data

2015-06-01 Thread Yann Droneaud
seq_open() store its struct seq_file in file->private_data, thus, it must not be modified by user of seq_file. Link: http://lkml.kernel.org/r/cover.1433193673.git.ydrone...@opteya.com Signed-off-by: Yann Droneaud --- fs/seq_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v1 3/3] fs: documents seq_open()'s usage of file-private_data

2015-06-01 Thread Yann Droneaud
seq_open() store its struct seq_file in file-private_data, thus, it must not be modified by user of seq_file. Link: http://lkml.kernel.org/r/cover.1433193673.git.ydrone...@opteya.com Signed-off-by: Yann Droneaud ydrone...@opteya.com --- fs/seq_file.c | 2 ++ 1 file changed, 2 insertions(+) diff