aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <[email protected]>2020-09-27 22:05:56 -0400
committerTheodore Ts'o <[email protected]>2020-10-18 10:36:59 -0400
commit9704a322ea67fdb05fc66cf431fdd01c2424bbd9 (patch)
treef1ae6776ec0a38cef434aa95149173449d92f37f /tools/perf/scripts/python/syscall-counts.py
parentdd0db94f305c9f5dd44d0ecc7bf29944d4867074 (diff)
ext4: fix bdev write error check failed when mount fs with ro
Consider a situation when a filesystem was uncleanly shutdown and the orphan list is not empty and a read-only mount is attempted. The orphan list cleanup during mount will fail with: ext4_check_bdev_write_error:193: comm mount: Error while async write back metadata This happens because sbi->s_bdev_wb_err is not initialized when mounting the filesystem in read only mode and so ext4_check_bdev_write_error() falsely triggers. Initialize sbi->s_bdev_wb_err unconditionally to avoid this problem. Fixes: bc71726c7257 ("ext4: abort the filesystem if failed to async write metadata buffer") Cc: [email protected] Signed-off-by: Zhang Xiaoxu <[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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions