[PATCH] x86: be careful about tailcall breakage for sys_open[at] too
authorLinus Torvalds <torvalds@osdl.org>
Tue, 18 Apr 2006 20:59:27 +0000 (20:59 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Apr 2006 16:56:04 +0000 (09:56 -0700)
commit3e5a2e956fff9e975e1b76c4de314cd077c6ec87
treea6c44e27135735148fd0f332cf807f87ab71713e
parent248c64d252a614b7d07ed85e1d714b25dd537d57
[PATCH] x86: be careful about tailcall breakage for sys_open[at] too

x86: be careful about tailcall breakage for sys_open[at] too

Came up through a quick grep for other cases similar to the ftruncate()
one in commit 0a489cb3b6a7b277030cdbc97c2c65905db94536.

Also, add a comment, so that people who read the code understand why we
do what looks like a no-op.

(Again, this won't actually matter to any sane user, since libc will
save and restore the register gcc stomps on, but it's still wrong to
stomp on it)

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/open.c