Linux-CIFS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/8] CIFS: Adjustments for several function implementations
@ 2017-08-20 16:32 SF Markus Elfring
  2017-08-20 16:33 ` [PATCH 1/8] CIFS: Delete 11 error messages for a failed memory allocation SF Markus Elfring
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: SF Markus Elfring @ 2017-08-20 16:32 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA,
	samba-technical-w/Ol4Ecudpl8XjKLYN78aQ, Steve French
  Cc: LKML, kernel-janitors-u79uwXL29TY76Z2rM5mHXA

From: Markus Elfring <elfring-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-20 16:32 [PATCH 0/8] CIFS: Adjustments for several function implementations SF Markus Elfring
2017-08-20 16:33 ` [PATCH 1/8] CIFS: Delete 11 error messages for a failed memory allocation SF Markus Elfring
2017-08-20 16:38 ` [PATCH 4/8] CIFS: Use common error handling code in cifs_mknod() SF Markus Elfring
2017-08-20 16:39 ` [PATCH 5/8] CIFS: Less function calls in cifs_mknod() after error detection SF Markus Elfring
     [not found] ` <826310e5-e01c-38af-90df-c5630f761a4d-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-08-20 16:35   ` [PATCH 2/8] CIFS: Improve 27 size determinations SF Markus Elfring
2017-08-20 16:36   ` [PATCH 3/8] CIFS: One function call less in cifs_lookup() after error detection SF Markus Elfring
2017-08-20 16:40   ` [PATCH 6/8] CIFS: Return directly after a failed build_path_from_dentry() in cifs_do_create() SF Markus Elfring
2019-11-07  3:34     ` Steve French
2017-08-20 16:41 ` [PATCH 7/8] CIFS: Delete an unnecessary variable initialisation " SF Markus Elfring
2017-08-20 16:42 ` [PATCH 8/8] CIFS: One function call less in cifs_do_create() after error detection SF Markus Elfring

Linux-CIFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-cifs/0 linux-cifs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-cifs linux-cifs/ https://lore.kernel.org/linux-cifs \
		linux-cifs@vger.kernel.org
	public-inbox-index linux-cifs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-cifs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git