diff options
author | NeilBrown <neilb@suse.de> | 2013-04-24 11:42:44 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-07 20:08:23 -0700 |
commit | 9088a4100a97838270b44a7980ccbc822b17a85b (patch) | |
tree | 1d9ae2ac076453b59bb56bf76e45bb6c59897b4a /fs/jbd2/commit.c | |
parent | 97a12ae90a305b643a42fafe191d092f796d6179 (diff) |
md: bad block list should default to disabled.
commit 486adf72ccc0c235754923d47a2270c5dcb0c98b upstream.
Maintenance of a bad-block-list currently defaults to 'enabled'
and is then disabled when it cannot be supported.
This is backwards and causes problem for dm-raid which didn't know
to disable it.
So fix the defaults, and only enabled for v1.x metadata which
explicitly has bad blocks enabled.
The problem with dm-raid has been present since badblock support was
added in v3.1, so this patch is suitable for any -stable from 3.1
onwards.
Reported-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions