]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: Start update_opt from 0
authorXiao Ni <xni@redhat.com>
Wed, 22 May 2024 08:50:39 +0000 (16:50 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 24 May 2024 08:04:08 +0000 (10:04 +0200)
commit296398299391b10650bdd79d986b115588e60590
treef9007ef129fe8fa2542dccff1819d6aff0261230
parent13a0e92a3ed70c52246a0f0572dee61203994327
mdadm: Start update_opt from 0

Before f2e8393bd722 ('Manage&Incremental: code refactor, string to enum'), it uses
NULL to represent it doesn't need to update. So init UOPT_UNDEFINED to 0. This
problem is found by test case 05r6tor0.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
mdadm.h