ext4: do not use stripe_width if it is not set
authorJan Kara <jack@suse.cz>
Fri, 10 Feb 2017 05:56:09 +0000 (00:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 10 Feb 2017 05:56:09 +0000 (00:56 -0500)
commit5469d7c3087ecaf760f54b447f11af6061b7c897
treef8b3a6d61bc2720f11d7c8a21c12024c40274cd2
parentd9b22cf9f5466a057f2a4f1e642b469fa9d73117
ext4: do not use stripe_width if it is not set

Avoid using stripe_width for sbi->s_stripe value if it is not actually
set. It prevents using the stride for sbi->s_stripe.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c