Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-02-01 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2019 at 05:36:01PM +0100, David Sterba wrote: > On Mon, Jan 14, 2019 at 03:21:04PM +0100, Greg Kroah-Hartman wrote: > > On Fri, Jan 04, 2019 at 02:44:49PM +0100, David Sterba wrote: > > > On Fri, Jan 04, 2019 at 02:25:20PM +0100, Greg Kroah-Hartman wrote: > > > > When calling debugf

Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-24 Thread David Sterba
On Mon, Jan 14, 2019 at 03:21:04PM +0100, Greg Kroah-Hartman wrote: > On Fri, Jan 04, 2019 at 02:44:49PM +0100, David Sterba wrote: > > On Fri, Jan 04, 2019 at 02:25:20PM +0100, Greg Kroah-Hartman wrote: > > > When calling debugfs functions, there is no need to ever check the > > > return value. T

Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-14 Thread Greg Kroah-Hartman
On Fri, Jan 04, 2019 at 02:44:49PM +0100, David Sterba wrote: > On Fri, Jan 04, 2019 at 02:25:20PM +0100, Greg Kroah-Hartman wrote: > > 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 somethin

Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-04 Thread Greg Kroah-Hartman
On Fri, Jan 04, 2019 at 03:36:59PM +0200, Nikolay Borisov wrote: > > > On 4.01.19 г. 15:25 ч., Greg Kroah-Hartman wrote: > > 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 differe

Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-04 Thread David Sterba
On Fri, Jan 04, 2019 at 02:25:20PM +0100, Greg Kroah-Hartman wrote: > 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: Chris Mason > Cc: Josef Bacik >

Re: [PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-04 Thread Nikolay Borisov
On 4.01.19 г. 15:25 ч., Greg Kroah-Hartman wrote: > 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: Chris Mason > Cc: Josef Bacik > Cc: David Sterb

[PATCH] btrfs: no need to check return value of debugfs_create functions

2019-01-04 Thread Greg Kroah-Hartman
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: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-btrfs@vger.kernel.org Signed-off-by: Greg Kroah-Hartma