From 50c2f75388727018c3c357454a247072915a9e3f Mon Sep 17 00:00:00 2001 From: Steve French Date: Fri, 13 Jul 2007 00:33:32 +0000 Subject: [CIFS] whitespace/formatting fixes This should be the last big batch of whitespace/formatting fixes. checkpatch warnings for the cifs directory are down about 90% and many of the remaining ones are harder to remove or make the code harder to read. Signed-off-by: Steve French --- fs/cifs/sess.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fs/cifs/sess.c') diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index f45c4730e92..a1e6f7f45b1 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c @@ -191,7 +191,7 @@ static int decode_unicode_ssetup(char **pbcc_area, int bleft, their final Unicode string - in which case we now will not attempt to decode the byte of junk which follows it */ - + words_left = bleft / 2; /* save off server operating system */ @@ -266,11 +266,11 @@ static int decode_ascii_ssetup(char **pbcc_area, int bleft, char *bcc_ptr = *pbcc_area; cFYI(1, ("decode sessetup ascii. bleft %d", bleft)); - + len = strnlen(bcc_ptr, bleft); if (len >= bleft) return rc; - + if (ses->serverOS) kfree(ses->serverOS); @@ -412,7 +412,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, cpu_to_le16(CIFS_SESS_KEY_SIZE); pSMB->req_no_secext.CaseSensitivePasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE); - + /* calculate session key */ SMBNTencrypt(ses->password, ses->server->cryptKey, ntlm_session_key); @@ -536,7 +536,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, ses, nls_cp); else rc = decode_ascii_ssetup(&bcc_ptr, bytes_remaining, ses,nls_cp); - + ssetup_exit: kfree(str_area); if (resp_buf_type == CIFS_SMALL_BUFFER) { -- cgit v1.2.3