_open: fix static corruptor
authorAlan Cox <alan@etchedpixels.co.uk>
Sat, 22 Nov 2014 00:48:18 +0000 (00:48 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Sat, 22 Nov 2014 00:48:18 +0000 (00:48 +0000)
commit19f5fdb5977c450b833eab7e7103e24002f138ad
treef9b9f470b70c4cb47578c8a2a220de7e9935e210
parent1d1f02e5fb2a39e172e24add81d5b08b7045f758
_open: fix static corruptor

We can block in a tty open, which if another open then occurs leaves
the staticfast "ino" corrupted. Save it in a temporary variable so that
for we still get almost all the benefit of staticfast here.
Kernel/syscall_fs2.c