gfs2: remove the unused sd_log_error field
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
committed by
Jens Axboe
parent
10f64ec5dd
commit
f729b66fca
@ -209,10 +209,8 @@ static void gfs2_end_log_write(struct bio *bio)
|
||||
struct page *page;
|
||||
int i;
|
||||
|
||||
if (bio->bi_error) {
|
||||
sdp->sd_log_error = bio->bi_error;
|
||||
if (bio->bi_error)
|
||||
fs_err(sdp, "Error %d writing to log\n", bio->bi_error);
|
||||
}
|
||||
|
||||
bio_for_each_segment_all(bvec, bio, i) {
|
||||
page = bvec->bv_page;
|
||||
|
Reference in New Issue
Block a user