From: NeilBrown Date: Mon, 23 Mar 2015 06:36:38 +0000 (+1100) Subject: md: don't require sync_min to be a multiple of chunk_size. X-Git-Tag: omap-for-v4.1/fixes-rc1~34^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c37b136a3807eda44afe16529b5af701ec49f5;p=pandora-kernel.git md: don't require sync_min to be a multiple of chunk_size. There is really no need for sync_min to be a multiple of chunk_size, and values read from here often aren't. That means you cannot read a value and expect to be able to write it back later. So remove the chunk_size check, and round down to a multiple of 4K, to be sure everything works with 4K-sector devices. Signed-off-by: NeilBrown --- Reading git-diff-tree failed