]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] v9fs: return the correct error when interrupted by signal
authorLatchesar Ionkov <lucho@ionkov.net>
Wed, 28 Jun 2006 11:26:50 +0000 (04:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:05 +0000 (14:59 -0700)
commitb7ed6cfe35e4fae394cb1a8deb548c02133cee7a
tree9f599bd59ccf7f1b5b0e7292940687a73d153998
parent58c450d45a664085da0030a9f21f7ded65263369
[PATCH] v9fs: return the correct error when interrupted by signal

If a signal interrupts the user process, v9fs sends a flush request to the
file server and waits for its response.  It error code is incorrectly set
to the error code of the flush message instead of ERESTARTSYS.  The patch
sets the error code to the correct value.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/mux.c