aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2015-01-15 16:17:45 +0000
committerGreg Kroah-Hartman <[email protected]>2015-02-03 23:50:31 +0000
commitadf305f77878880fa5868a7179979da93be68d83 (patch)
treef87b173d3848b06bbe620142452803c64b78723c /fs/ubifs/commit.c
parentfirmware_loader: handle timeout via wait_for_completion_interruptible_timeout() (diff)
downloadkernel-adf305f77878880fa5868a7179979da93be68d83.tar.gz
kernel-adf305f77878880fa5868a7179979da93be68d83.zip
sysfs: fix warning when creating a sysfs group without attributes
When attempting to create a gropu without attrs, the warning prints the name of the group. However, the check for name being a NULL pointer is wrong: it uses the pointer to the name when it's NULL. Fix it to use the name if present, otherwise just put an empty string. Cc: Bruno PrĂ©mont <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Javi Merino <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions