Re: [PATCH v2] btrfs: add a check for sysfs_create_group

From: David Sterba
Date: Tue Jan 08 2019 - 10:51:33 EST


On Tue, Dec 25, 2018 at 11:37:44PM -0600, Kangjie Lu wrote:
> In case sysfs_create_group fails, let's check its return value and
> issues an error message.

It's in a function that's not currently used and the sysfs code needs to
be reworked. The return code should be passed to the caller, printing
error message in this case may not be desired but I can't say right now.