]> git.neil.brown.name Git - history.git/commit
[WATCHDOG] v2.6.6 pcwd.c-keepalive+single_open-patch
authorWim Van Sebroeck <wim@iguana.be>
Sun, 13 Jun 2004 00:37:11 +0000 (02:37 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 13 Jun 2004 00:37:11 +0000 (02:37 +0200)
commita943a2b2db4743ca19946ac883d20b4d30b562fd
tree93af2a9ebfaf5b6fd6377d19f45a004dcc486b50
parent981a1ad3f44b6ba1afd9f3a2d4798e19e728acdb
[WATCHDOG] v2.6.6 pcwd.c-keepalive+single_open-patch

- Make pcwd_keepalive return 0 on success.
- /dev/watchdog is single open only: make sure that the atomic that
prevents a second open is cleared only as the last instruction of the
release code.
drivers/char/watchdog/pcwd.c