diff options
author | 2006-07-30 03:03:58 -0700 | |
---|---|---|
committer | 2006-07-31 13:28:41 -0700 | |
commit | 0aa9e4f147880b2d7d1eef1f0b45112af0e36f9f (patch) | |
tree | 2353795f3b72fc0fc5bffd1584bc3f45d82a775e /kernel | |
parent | [PATCH] Remove incorrect unlock_kernel from allocation failure path in coda_open() (diff) | |
download | linux-dev-0aa9e4f147880b2d7d1eef1f0b45112af0e36f9f.tar.xz linux-dev-0aa9e4f147880b2d7d1eef1f0b45112af0e36f9f.zip |
[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 <josh@freedesktop.org>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions