tax is: stable@vger.kernel.org # 6.6+ Btw, BTRFS_FS_ERROR() returns the error that has caused the transaction to abort. So instead of -EROFS we can pass BTRFS_FS_ERROR(fs_info). In the end it doesn't make any difference since the error is not returned to userspace. Reviewed-by: Filipe Manana [PATCH v2] btrfs: ensure no dirty metadata is written back for an fs with errorsFilipe Manana undefinedQu Wenruo undefined undefined undefined…,ƒÃ]