We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f64ec commit f729b66Copy full SHA for f729b66
fs/gfs2/incore.h
@@ -815,7 +815,6 @@ struct gfs2_sbd {
815
atomic_t sd_log_in_flight;
816
struct bio *sd_log_bio;
817
wait_queue_head_t sd_log_flush_wait;
818
- int sd_log_error;
819
820
atomic_t sd_reserving_log;
821
wait_queue_head_t sd_reserving_log_wait;
fs/gfs2/lops.c
@@ -209,10 +209,8 @@ static void gfs2_end_log_write(struct bio *bio)
209
struct page *page;
210
int i;
211
212
- if (bio->bi_error) {
213
- sdp->sd_log_error = bio->bi_error;
+ if (bio->bi_error)
214
fs_err(sdp, "Error %d writing to log\n", bio->bi_error);
215
- }
216
217
bio_for_each_segment_all(bvec, bio, i) {
218
page = bvec->bv_page;
0 commit comments