]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raid5-ppl: silence a misleading warning message
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Mar 2017 20:43:05 +0000 (23:43 +0300)
committerShaohua Li <shli@fb.com>
Fri, 24 Mar 2017 05:38:46 +0000 (22:38 -0700)
commit0b408baf7f4f3ea94239d021a1f19e60cd8694de
tree11c436fab9b5fe9209b1f6faedddde9055ba10d0
parent4ad23a976413aa57fe5ba7a25953dc35ccca5b71
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: 3418d036c81d ("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>
drivers/md/raid5-ppl.c