cifs: send an NT_CANCEL request when a process is signalled
authorJeff Layton <jlayton@redhat.com>
Fri, 28 Jan 2011 12:08:28 +0000 (07:08 -0500)
committerSteve French <sfrench@us.ibm.com>
Mon, 31 Jan 2011 04:24:38 +0000 (04:24 +0000)
commit2db7c5815555d8daabf7d4ab1253ce690852c140
treef93abfb6d900da8ebd851703784d45d2cd54600b
parent1be912dde772b77aaaa21770eeabb0a7a5e297a6
cifs: send an NT_CANCEL request when a process is signalled

Use the new send_nt_cancel function to send an NT_CANCEL when the
process is delivered a fatal signal. This is a "best effort" enterprise
however, so don't bother to check the return code. There's nothing we
can reasonably do if it fails anyway.

Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/transport.c