From: Josh Triplett Date: Sun, 30 Jul 2006 10:03:58 +0000 (-0700) Subject: [PATCH] efs: Remove incorrect unlock_kernel from failure path in efs_symlink_readpage() X-Git-Tag: v2.6.18-rc4~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa9e4f147880b2d7d1eef1f0b45112af0e36f9f;p=pandora-kernel.git [PATCH] efs: Remove incorrect unlock_kernel from failure path in efs_symlink_readpage() If efs_symlink_readpage hits the -ENAMETOOLONG error path, it will call unlock_kernel without ever having called lock_kernel(); fix this by creating and jumping to a new label fail_notlocked rather than the fail label used after calling lock_kernel(). Signed-off-by: Josh Triplett Cc: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed