mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Revert "md: change mddev 'chunk_sectors' from int to unsigned"
This reverts commit 6ffeb1c3f8.
This change caused unexpected v5.10 raid6 mount failures, see:
https://lkml.org/lkml/2020/12/14/7
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
1 parent
2c85ebc57b
commit
77a68698ff
1 file changed
+2
-2
+2
-2
@@ -311,7 +311,7 @@ struct mddev {
|
||||
int external; /* metadata is
|
||||
* managed externally */
|
||||
char metadata_type[17]; /* externally set*/
|
||||
unsigned int chunk_sectors;
|
||||
int chunk_sectors;
|
||||
time64_t ctime, utime;
|
||||
int level, layout;
|
||||
char clevel[16];
|
||||
@@ -339,7 +339,7 @@ struct mddev {
|
||||
*/
|
||||
sector_t reshape_position;
|
||||
int delta_disks, new_level, new_layout;
|
||||
unsigned int new_chunk_sectors;
|
||||
int new_chunk_sectors;
|
||||
int reshape_backwards;
|
||||
|
||||
struct md_thread *thread; /* management thread */
|
||||
|
||||
Reference in new issue
Block a user