mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
drivers/md/raid5-ppl.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: Eugene Syromiatnikov <esyr@redhat.com> Signed-off-by: Song Liu <songliubraving@fb.com>
This commit is contained in:
committed by
Song Liu
parent
f1934892bd
commit
0815ef3c01
@@ -1404,7 +1404,7 @@ int ppl_init_log(struct r5conf *conf)
|
|||||||
atomic64_set(&ppl_conf->seq, 0);
|
atomic64_set(&ppl_conf->seq, 0);
|
||||||
INIT_LIST_HEAD(&ppl_conf->no_mem_stripes);
|
INIT_LIST_HEAD(&ppl_conf->no_mem_stripes);
|
||||||
spin_lock_init(&ppl_conf->no_mem_stripes_lock);
|
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) {
|
if (!mddev->external) {
|
||||||
ppl_conf->signature = ~crc32c_le(~0, mddev->uuid, sizeof(mddev->uuid));
|
ppl_conf->signature = ~crc32c_le(~0, mddev->uuid, sizeof(mddev->uuid));
|
||||||
|
Reference in New Issue
Block a user