diff options
| author | Heinz Mauelshagen <[email protected]> | 2017-06-30 15:45:58 +0200 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2017-06-30 10:15:52 -0400 |
| commit | 4d49f1b4a1fcab16b6dd1c79ef14f2b6531d50a6 (patch) | |
| tree | f754d4b98f1f9db0814290f64a5c0e41a2cd1638 /net/switchdev/switchdev.c | |
| 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 <[email protected]>
Cc: [email protected]
Signed-off-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions