mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
raid5-ppl: silence a misleading warning message
The "need_cache_flush" variable is never set to false. When the
variable is true that means we print a warning message at the end of
the function.
Fixes: 3418d036c8
("raid5-ppl: Partial Parity Log write logging implementation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
This commit is contained in:
parent
4ad23a9764
commit
0b408baf7f
1 changed files with 1 additions and 1 deletions
|
@ -1070,7 +1070,7 @@ int ppl_init_log(struct r5conf *conf)
|
|||
struct mddev *mddev = conf->mddev;
|
||||
int ret = 0;
|
||||
int i;
|
||||
bool need_cache_flush;
|
||||
bool need_cache_flush = false;
|
||||
|
||||
pr_debug("md/raid:%s: enabling distributed Partial Parity Log\n",
|
||||
mdname(conf->mddev));
|
||||
|
|
Loading…
Reference in a new issue