Commit f1934892 authored by Eugene Syromiatnikov's avatar Eugene Syromiatnikov Committed by Song Liu
Browse files

drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET



As it is consistent with prefixes of other write life time hints.

Signed-off-by: default avatarEugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 15fbb231
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1134,7 +1134,7 @@ again:
			bi->bi_iter.bi_size = STRIPE_SIZE;
			bi->bi_write_hint = sh->dev[i].write_hint;
			if (!rrdev)
				sh->dev[i].write_hint = RWF_WRITE_LIFE_NOT_SET;
				sh->dev[i].write_hint = RWH_WRITE_LIFE_NOT_SET;
			/*
			 * If this is discard request, set bi_vcnt 0. We don't
			 * want to confuse SCSI because SCSI will replace payload
@@ -1187,7 +1187,7 @@ again:
			rbi->bi_io_vec[0].bv_offset = 0;
			rbi->bi_iter.bi_size = STRIPE_SIZE;
			rbi->bi_write_hint = sh->dev[i].write_hint;
			sh->dev[i].write_hint = RWF_WRITE_LIFE_NOT_SET;
			sh->dev[i].write_hint = RWH_WRITE_LIFE_NOT_SET;
			/*
			 * If this is discard request, set bi_vcnt 0. We don't
			 * want to confuse SCSI because SCSI will replace payload