diff options
author | Tejun Heo <[email protected]> | 2007-11-08 08:00:24 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2007-11-08 08:00:24 +0100 |
commit | fffe487d59ba4017c7c62b06667ca4a226cee651 (patch) | |
tree | e7473f6bc2406c1f20119a2d5532d7ec2655bdb6 /net/unix/sysctl_net_unix.c | |
parent | 8ec680e4c3ec818efd1652f15199ed1c216ab550 (diff) |
pktcdvd: fix BUG caused by sysfs module reference semantics change
pkt_setup_dev() expects module reference to be held on invocation.
This used to be true for sysfs callbacks but not anymore. Test and
grab module reference around pkt_setup_dev() in
class_pktcdvd_store_add().
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Peter Osterlund <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions