diff --git a/[refs] b/[refs] index 8cceddba3bfc..76a9adfe02e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5df0d312413d920628f149421d7b0a3994684620 +refs/heads/master: 99cee0cd7560fc4e7f3646ee18d90e328bd1cb32 diff --git a/trunk/fs/sysfs/inode.c b/trunk/fs/sysfs/inode.c index 4c29ac41ac3e..f0b347bd12ca 100644 --- a/trunk/fs/sysfs/inode.c +++ b/trunk/fs/sysfs/inode.c @@ -175,8 +175,7 @@ const unsigned char * sysfs_get_name(struct sysfs_dirent *sd) struct bin_attribute * bin_attr; struct sysfs_symlink * sl; - if (!sd || !sd->s_element) - BUG(); + BUG_ON(!sd || !sd->s_element); switch (sd->s_type) { case SYSFS_DIR: