mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-21 01:51:18 +00:00
Revert "md: change mddev 'chunk_sectors' from int to unsigned"
This reverts commit 6ffeb1c3f8
.
It causes problems :(
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Reported-by: Mike Snitzer <snitzer@redhat.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2c85ebc57b
commit
859f703543
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue