aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2020-01-23 09:05:10 +0000
committerTheodore Ts'o <[email protected]>2020-01-25 07:30:46 +0000
commit1a8e9cf40c9a6a2e40b1e924b13ed303aeea4418 (patch)
treed62a68e60c0387ac45c79584ca8ec256e764123c /fs/jbd2/commit.c
parentjbd2: remove pointless assertion in __journal_remove_journal_head (diff)
downloadkernel-1a8e9cf40c9a6a2e40b1e924b13ed303aeea4418.tar.gz
kernel-1a8e9cf40c9a6a2e40b1e924b13ed303aeea4418.zip
jbd2_seq_info_next should increase position index
if seq_file .next fuction does not change position index, read after some lseek can generate unexpected output. Script below generates endless output $ q=;while read -r r;do echo "$((++q)) $r";done </proc/fs/jbd2/DEV/info https://bugzilla.kernel.org/show_bug.cgi?id=206283 Fixes: 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code and interface") Cc: [email protected] Signed-off-by: Vasily Averin <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions