[PATCH 0/8] CIFS: Adjustments for several function implementations
From: SF Markus Elfring
Date: Sun Aug 20 2017 - 12:32:24 EST
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