commit | ba2746b0facf83c62bebf8aed8f0a3fd446de612 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Fri Oct 16 13:48:35 2015 +1100 |
committer | NeilBrown <neilb@suse.com> | Fri Oct 16 13:48:35 2015 +1100 |
tree | 241b5ede4129cc5145c6c37d1eb4bddeb0247edf | |
parent | c2a06c38d92d044a69a3eae0138ab95ff0788030 [diff] |
md-cluster: metadata_update_finish: consistently use cmsg.raid_slot as le32 As cmsg.raid_slot is le32, comparing for >0 is not meaningful. So introduce cpu-endian 'raid_slot' and only assign to cmsg.raid_slot when we know value is valid. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: NeilBrown <neilb@suse.com>