diff options
| author | Evgeniy Polyakov <[email protected]> | 2008-01-14 00:55:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-01-14 08:52:22 -0800 |
| commit | a2a6c74d34c3ae9de6825767a30ab17f709b59ce (patch) | |
| tree | 573b0117cbb90c87ee6fa0355870949b66159866 /include/linux/debugobjects.h | |
| parent | cb2a52052cebe4716e83b9d2e53682ba00f67de6 (diff) | |
w1: decrement slave counter only in ->release() callback
Decrement the slave counter only in ->release() callback instead of both
in ->release() and w1 control.
Patch is based on debug work and preliminary patch made by Henri Laakso.
Henri noticed in debug that this counter becomes negative after w1 slave
device is physically removed.
Signed-off-by: Evgeniy Polyakov <[email protected]>
Cc: Henri Laakso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions