From: Sven Schnelle Date: Wed, 2 Apr 2008 12:17:18 +0000 (+0100) Subject: afs: add missing up_write() on return X-Git-Tag: v2.6.25-rc9~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5f37c3252b174efdcdd808797a7c529064c95c0;p=pandora-kernel.git afs: add missing up_write() on return If afs_cell_alloc() fails, afs_cells_sem doesn't get unlocked, which leads to a deadlock. Unlock it before returning. Signed-off-by: Sven Schnelle Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed