From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suresh Jayaraman Subject: Re: [PATCH 09/18] cifs: clean up sync_mid_result Date: Thu, 06 Jan 2011 12:27:53 +0530 Message-ID: <4D2567F1.4070600@suse.de> References: <1293417006-6417-1-git-send-email-jlayton@redhat.com> <1293417006-6417-10-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jeff Layton Return-path: In-Reply-To: <1293417006-6417-10-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 12/27/2010 07:59 AM, Jeff Layton wrote: > Make it use a switch statement based on the value of the midStatus. If > the resp_buf is set, then MID_RESPONSE_RECEIVED is too. > > Signed-off-by: Jeff Layton > --- > fs/cifs/transport.c | 35 ++++++++++++++++++----------------- > 1 files changed, 18 insertions(+), 17 deletions(-) > Looks good to me as well. Reviewed-by: Suresh Jayaraman