drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET
authorEugene Syromiatnikov <esyr@redhat.com>
Fri, 20 Sep 2019 15:58:28 +0000 (17:58 +0200)
committerSong Liu <songliubraving@fb.com>
Thu, 14 Nov 2019 22:59:15 +0000 (14:59 -0800)
As it is consistent with prefixes of other write life time hints.

Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.c

index 12a8ce83786ea8c5d1ced9fd741f5984b61fef90..f0fc538bfe597f7a1179b31eeaa8a8bfa837101a 100644 (file)
@@ -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