Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753394AbdHTSiA (ORCPT ); Sun, 20 Aug 2017 14:38:00 -0400 Received: from mout.web.de ([217.72.192.78]:56035 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753304AbdHTSh6 (ORCPT ); Sun, 20 Aug 2017 14:37:58 -0400 To: ceph-devel@vger.kernel.org, Ilya Dryomov , Sage Weil , "Yan, Zheng" Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/3] Ceph: Adjustments for some function implementations Message-ID: Date: Sun, 20 Aug 2017 20:37:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:jlbCTYn4MApTuAt7GqN26KXn3TpqrkYRsmw5AqozATuPM9EvSKZ SaIWDxv0iDS7ct04DqBwULmtAUwn0sK0VWpec/0u4Fh+xuYWDDtpKY8/5LXXjZf3G0Epakv s9xpmKGOvEEcl5sLyRAB4zEbckjnK5TOUDz8B7rsYlvVMFySy/bOIoCuHuA2u8HHUqfN+cL 1F9JCwvrl7xbFneta+WoA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0Z+VTbSGBHo=:vy5YeuWqvCc/frsqEmRlwM rxFCTJhDFau0cjDLqiwtXdjHPcBPP5bgccfCR43nWcRYXA5wZQ5oYvLIFKRy6hB1An7ZkRnFC 6zywDAV85Dpmmn3z4kobmvFKYgLIZIVHh3whBZDf4q4AVMq14N8YxR/l0V0B/pXip42Aa4Ey8 yAeAiSVyuqbRYehuB4b1FUZtGex+z65+aVD8zBVHw3z+iCObBxKOcdcbgogeEHXz7L0Jxaysk MiRun0mkWuhlzOVb/3RCilaHKdHMWIV0m4dQKYBeR1VS4MnswZla7DhKIbQy+HeryhKBuBw/t 6/v2/01I0gFMp7jYsLPEcwn5kEe1am9drG04I/vye8hwMCsV1Yw85l1fukR7ntJoZ/tYmNgst mk3G2kowajkMJ1a5qH+N+XYExEh75e+tMMi+U3/q11/1ZbKAAaf0Pt+WSegbDSk8DChwifAU0 DpkwTVBjqsksilV3AzWlBq20TTMffYhZpZz3xI+8CFeEVRPt9PYIwiIro1OZHa3bLPifsusfB jRjpRxn5Eanr3O4tIbrHoxRRc3tkqu/bjvCX+h6kyPwXLAy9Aw5bvTa9ZO7Qq10If6tbCyhnI kWeH0D10jE9jIPHQZw3wyM1b1SqyWHEQNGPrhLqTdGPTNZ1VLP8TnY4gkz+SJNXqxq0W2qdS/ w4bghhar2twDdYVBgdSrtrtVUpXTGfaM3R4RlpeAM+7oBjUYqwnUomP5skwGWUkGkXUoEj0yi Po4XyxeIJAzln7MVugeMyve9FsSKXKlYEVCfT4fFpUzoJAfuge8JGzKqALfTV3253/4Gjlxth nIHAWKxtoUWn81B9OaEC0O1juCzeImS1oTDxeAhGYpuNJuMeRE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 25 From: Markus Elfring Date: Sun, 20 Aug 2017 20:32:10 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in __get_or_create_frag() Delete an unnecessary return statement in update_dentry_lease() Adjust 36 checks for null pointers fs/ceph/addr.c | 2 +- fs/ceph/cache.c | 2 +- fs/ceph/caps.c | 4 ++-- fs/ceph/debugfs.c | 2 +- fs/ceph/file.c | 2 +- fs/ceph/inode.c | 14 +++++--------- fs/ceph/mds_client.c | 22 +++++++++++----------- fs/ceph/mdsmap.c | 6 +++--- fs/ceph/super.c | 18 +++++++++--------- fs/ceph/xattr.c | 8 ++++---- 10 files changed, 38 insertions(+), 42 deletions(-) -- 2.14.0