From: Kirill Korotaev Date: Wed, 14 Jun 2006 13:59:35 +0000 (+0400) Subject: [PATCH] Return error in case flock_lock_file failure X-Git-Tag: v2.6.17~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cedc194a7735e5d74ad26d3825247dc65a4d98e;p=pandora-kernel.git [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 Signed-off-by: Kirill Korotaev Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed