]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drivers/md/raid5-ppl.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET
authorEugene Syromiatnikov <esyr@redhat.com>
Fri, 20 Sep 2019 15:58:34 +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-ppl.c

index 18a4064a61a88fe3911ad9fe797bdb5d72ade999..cab5b1352892fbd3584aec57e2180c51b01f6a23 100644 (file)
@@ -1404,7 +1404,7 @@ int ppl_init_log(struct r5conf *conf)
        atomic64_set(&ppl_conf->seq, 0);
        INIT_LIST_HEAD(&ppl_conf->no_mem_stripes);
        spin_lock_init(&ppl_conf->no_mem_stripes_lock);
-       ppl_conf->write_hint = RWF_WRITE_LIFE_NOT_SET;
+       ppl_conf->write_hint = RWH_WRITE_LIFE_NOT_SET;
 
        if (!mddev->external) {
                ppl_conf->signature = ~crc32c_le(~0, mddev->uuid, sizeof(mddev->uuid));