Loading fs/partitions/check.c +3 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ int add_partition(struct gendisk *disk, int partno, err = blk_alloc_devt(p, &devt); if (err) goto out_free; goto out_free_stats; pdev->devt = devt; /* delay uevent until 'holders' subdir is created */ Loading Loading @@ -426,6 +426,8 @@ int add_partition(struct gendisk *disk, int partno, return 0; out_free_stats: free_part_stats(p); out_free: kfree(p); return err; Loading Loading
fs/partitions/check.c +3 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ int add_partition(struct gendisk *disk, int partno, err = blk_alloc_devt(p, &devt); if (err) goto out_free; goto out_free_stats; pdev->devt = devt; /* delay uevent until 'holders' subdir is created */ Loading Loading @@ -426,6 +426,8 @@ int add_partition(struct gendisk *disk, int partno, return 0; out_free_stats: free_part_stats(p); out_free: kfree(p); return err; Loading