[PATCH] Remove incorrect unlock_kernel from allocation failure path in coda_open()
authorJosh Triplett <josht@us.ibm.com>
Sun, 30 Jul 2006 10:03:56 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:41 +0000 (13:28 -0700)
commit6ecbc4e1a395062a8e99e4f5fe328f6ba166d9c8
tree860b84b861fb6b96a3ffac777ad806f89a7c9e34
parent3ae192080cb4d007792d13522efa98ebe7f15475
[PATCH] Remove incorrect unlock_kernel from allocation failure path in coda_open()

Commit 398c53a757702e1e3a7a2c24860c7ad26acb53ed (in the historical GIT
tree) moved the lock_kernel() in coda_open after the allocation of a
coda_file_info struct, but left an unlock_kernel() in the allocation
failure error path; remove it.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/coda/file.c