[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHc6FU5V-XNt_PrzNbQMLsDkEbMNDQrW0VQzm+Xhy8dKwQEVFg@mail.gmail.com>
Date: Wed, 23 Jan 2019 12:35:24 +0100
From: Andreas Gruenbacher <agruenba@...hat.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Bob Peterson <rpeterso@...hat.com>,
cluster-devel <cluster-devel@...hat.com>
Subject: Re: [PATCH] gfs: no need to check return value of debugfs_create functions
Greg,
On Tue, 22 Jan 2019 at 16:24, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> 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.
>
> There is no need to save the dentries for the debugfs files, so drop
> those variables to save a bit of space and make the code simpler.
looking good, pushed to for-next.
Thanks,
Andreas
Powered by blists - more mailing lists