summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-03 09:37:56 +0200
committerJens Axboe <axboe@fb.com>2017-06-09 09:27:32 -0600
commitf729b66fca43d850d564b264c2033980c00a14b0 (patch)
tree1fa7e4fe932d7041d5cd4ef07e0d13855b6402c4 /fs/gfs2/lops.c
parent10f64ec5dded10f680f891e92fb4c65f4b7147a2 (diff)
downloadlinux-f729b66fca43d850d564b264c2033980c00a14b0.tar.gz
linux-f729b66fca43d850d564b264c2033980c00a14b0.tar.bz2
linux-f729b66fca43d850d564b264c2033980c00a14b0.zip
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>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index b1f9144b42c7..13ebf15a4db0 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -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;