diff options
author | Kirill Korotaev <dev@openvz.org> | 2006-06-14 17:59:35 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-14 08:59:44 -0700 |
commit | 9cedc194a7735e5d74ad26d3825247dc65a4d98e (patch) | |
tree | 973541332ad3428448be7636eb78e2106aafb869 /drivers/acpi/dispatcher/dswstate.c | |
parent | eb35cf60e462491249166182e3e755d3d5d91a28 (diff) |
[PATCH] Return error in case flock_lock_file failure
If flock_lock_file() failed to allocate flock with locks_alloc_lock()
then "error = 0" is returned. Need to return some non-zero.
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/dispatcher/dswstate.c')
0 files changed, 0 insertions, 0 deletions