]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 15:26:03 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 14:57:17 +0000 (16:57 +0200)
commiteeb62b7fdef9dd6b5ea292907cd8a1ad4addfdfd
treeaf48c8bb8c7823a7a828be76c18a686ff104ea63
parent306eeef0410fcf030fc929b72de0f9ed75184312
nfsd: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Jeff Layton <jlayton@kernel.org>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612152603.GB18440@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/fault_inject.c
fs/nfsd/nfsctl.c
fs/nfsd/state.h