diff options
author | Greg Kroah-Hartman <[email protected]> | 2009-04-15 16:00:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-04-16 16:17:11 -0700 |
commit | 014c90dbb9b63bae067afc80a7931a76c5268ae3 (patch) | |
tree | 0cdea5ea29cc1cee3ec2f03baf7afc3d6a4d45be /fs/jbd2/commit.c | |
parent | 4ccb457966391295bd9b3644f6bdc9ddd97b6051 (diff) |
driver core: prevent device_for_each_child from oopsing
David Vrabel noticed that the wireless usb stack likes to call
device_for_each_chile() with an empty bus. This used to work fine, but
now oopses. This patch fixes the oops and makes the code behave like it
used to.
Reported-by: David Vrabel <[email protected]>
Tested-by: David Vrabel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions