On 04/24/2017 10:03 AM, Artur Paszkiewicz wrote:
Use CONSISTENCY_POLICY_UNKNOWN instead. Simplify some checks because since 5e8e35fb7e17 ("maps: Use keyvalue for null terminator to indicate 'unset' value") map_name() can return this default directly. Suggested-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxx> Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@xxxxxxxxx> --- maps.c | 2 +- mdadm.c | 12 ++++++------ super-intel.c | 4 +--- sysfs.c | 10 ++++------ 4 files changed, 12 insertions(+), 16 deletions(-)
Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html