diff options
author | Christian Brauner <[email protected]> | 2023-10-24 15:01:09 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-11-18 14:59:23 +0100 |
commit | fbcb8f39e96d59f4ed48cbdfaa65211fa867985c (patch) | |
tree | 0b57f6b0289f9c9c6c7afa9a212542ceb5c948f4 /scripts/clang-tools/gen_compile_commands.py | |
parent | 982c3b3058433f20aba9fb032599cee5dfc17328 (diff) |
bdev: surface the error from sync_blockdev()
When freeze_super() is called, sync_filesystem() will be called which
calls sync_blockdev() and already surfaces any errors. Do the same for
block devices that aren't owned by a superblock and also for filesystems
that don't call sync_blockdev() internally but implicitly rely on
bdev_freeze() to do it.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions