[PATCH 0/8] CIFS: Adjustments for several function implementations

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

 



From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Aug 2017 18:24:56 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (8):
  Delete 11 error messages for a failed memory allocation
  Improve 27 size determinations
  One function call less in cifs_lookup() after error detection
  Use common error handling code in cifs_mknod()
  Less function calls in cifs_mknod() after error detection
  Return directly after a failed build_path_from_dentry() in cifs_do_create()
  Delete an unnecessary variable initialisation in cifs_do_create()
  One function call less in cifs_do_create() after error detection

 fs/cifs/cifsacl.c       |  8 +++----
 fs/cifs/cifsfs.c        |  2 +-
 fs/cifs/cifssmb.c       |  4 +---
 fs/cifs/connect.c       | 17 ++++-----------
 fs/cifs/dir.c           | 55 +++++++++++++++++++++++++------------------------
 fs/cifs/ioctl.c         |  2 +-
 fs/cifs/readdir.c       |  2 +-
 fs/cifs/sess.c          |  9 +++-----
 fs/cifs/smb1ops.c       |  2 +-
 fs/cifs/smb2file.c      |  4 ++--
 fs/cifs/smb2misc.c      |  2 +-
 fs/cifs/smb2ops.c       | 21 ++++++++-----------
 fs/cifs/smb2pdu.c       | 17 +++++----------
 fs/cifs/smb2transport.c |  1 -
 14 files changed, 61 insertions(+), 85 deletions(-)

-- 
2.14.0

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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux