Skip to content

CIFS: Adjustments for several function implementations

SF Markus Elfring kernel-janitors linux-cifs lkml 1 version Applied

Status from this message: merged into cifs-2.6.git for-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8CIFS: Delete 11 error messages for a failed memory allocationfs/cifs/connect.c fs/cifs/sess.c fs/cifs/smb2ops.c +2 more+6 -260 replies
2/8CIFS: Improve 27 size determinationsfs/cifs/cifsacl.c fs/cifs/cifsfs.c fs/cifs/cifssmb.c +9 more+29 -340 replies
3/8CIFS: One function call less in cifs_lookup() after error detectionfs/cifs/dir.c+4 -40 replies
4/8CIFS: Use common error handling code in cifs_mknod()fs/cifs/dir.c+3 -30 replies
5/8CIFS: Less function calls in cifs_mknod() after error detectionfs/cifs/dir.c+11 -90 replies
6/8CIFS: Return directly after a failed build_path_from_dentry() in cifs_do_create()fs/cifs/dir.c+2 -41 reply
7/8CIFS: Delete an unnecessary variable initialisation in cifs_do_create()fs/cifs/dir.c+1 -10 replies
8/8CIFS: One function call less in cifs_do_create() after error detectionfs/cifs/dir.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Markus Elfring <[email protected]>
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(-)
Signature · 1 line
2.14.0