]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: be careful about tailcall breakage for sys_open[at] too
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Apr 2006 20:22:59 +0000 (13:22 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Apr 2006 20:22:59 +0000 (13:22 -0700)
commit385910f2b275a636238f70844f1b6da9fda6f2da
tree284f31a897d1ae9d02598ccb2f1d108ba62a079c
parent0a489cb3b6a7b277030cdbc97c2c65905db94536
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>
fs/open.c