]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/md.h
Merge remote-tracking branch 'driver-core/driver-core-next'
[karo-tx-linux.git] / drivers / md / md.h
index 608050c43f17e9d7688a9b3d1b749b7971d47c33..b0051f2fbc0c84b735a711679c9835fc15d3b27b 100644 (file)
@@ -501,7 +501,7 @@ extern struct attribute_group md_bitmap_group;
 static inline struct sysfs_dirent *sysfs_get_dirent_safe(struct sysfs_dirent *sd, char *name)
 {
        if (sd)
-               return sysfs_get_dirent(sd, NULL, name);
+               return sysfs_get_dirent(sd, name);
        return sd;
 }
 static inline void sysfs_notify_dirent_safe(struct sysfs_dirent *sd)