diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2017-06-30 15:45:58 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-06-30 10:15:52 -0400 |
commit | 4d49f1b4a1fcab16b6dd1c79ef14f2b6531d50a6 (patch) | |
tree | f754d4b98f1f9db0814290f64a5c0e41a2cd1638 /net/mac802154/llsec.h | |
parent | 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 (diff) |
dm raid: stop using BUG() in __rdev_sectors()
Return 0 rather than BUG() if __rdev_sectors() fails and catch invalid
rdev size in the constructor.
Reported-by: Hannes Reinecke <hare@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'net/mac802154/llsec.h')
0 files changed, 0 insertions, 0 deletions