]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita77f47557819485242f52545a18e1e49776dfac7
treef8b3a6d61bc2720f11d7c8a21c12024c40274cd2
parentda87b07afa3e9dfeb93e63233c9931f8bf597b16
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