https://github.com/torvalds/linux
Revision a2a6c74d34c3ae9de6825767a30ab17f709b59ce authored by Evgeniy Polyakov on 14 January 2008, 08:55:08 UTC, committed by Linus Torvalds on 14 January 2008, 16:52:22 UTC
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 <johnpol@2ka.mipt.ru>
Cc: Henri Laakso <henri.laakso@wapice.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent cb2a520
History
Tip revision: a2a6c74d34c3ae9de6825767a30ab17f709b59ce authored by Evgeniy Polyakov on 14 January 2008, 08:55:08 UTC
w1: decrement slave counter only in ->release() callback
Tip revision: a2a6c74
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 91.6 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top