aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <[email protected]>2017-06-30 15:45:58 +0200
committerMike Snitzer <[email protected]>2017-06-30 10:15:52 -0400
commit4d49f1b4a1fcab16b6dd1c79ef14f2b6531d50a6 (patch)
treef754d4b98f1f9db0814290f64a5c0e41a2cd1638 /net/switchdev/switchdev.c
parent3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 (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