+ v9fs-return-the-correct-error-when-interrupted-by-signal.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     v9fs: return the correct error when interrupted by signal

has been added to the -mm tree.  Its filename is

     v9fs-return-the-correct-error-when-interrupted-by-signal.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: v9fs: return the correct error when interrupted by signal
From: Latchesar Ionkov <lucho@xxxxxxxxxx>


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@xxxxxxxxxx>
Cc: Eric Van Hensbergen <ericvh@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/9p/mux.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN fs/9p/mux.c~v9fs-return-the-correct-error-when-interrupted-by-signal fs/9p/mux.c
--- 25/fs/9p/mux.c~v9fs-return-the-correct-error-when-interrupted-by-signal	Tue Jun 27 15:39:21 2006
+++ 25-akpm/fs/9p/mux.c	Tue Jun 27 15:39:21 2006
@@ -932,6 +932,8 @@ v9fs_mux_rpc(struct v9fs_mux_data *m, st
 					r.rcall || r.err);
 			} while (!r.rcall && !r.err && err==-ERESTARTSYS &&
 				m->trans->status==Connected && !m->err);
+
+			err = -ERESTARTSYS;
 		}
 		sigpending = 1;
 	}
_

Patches currently in -mm which might be from lucho@xxxxxxxxxx are

origin.patch
v9fs-return-the-correct-error-when-interrupted-by-signal.patch
v9fs-fix-fid-check-in-v9fs_create.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux