mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
Revert "fs: partitions: Fix warnings in fs/partitions/check.c"
This reverts commit e27f17b531.
This commit is contained in:
@@ -327,8 +327,9 @@ static void part_release(struct device *dev)
|
||||
kfree(p);
|
||||
}
|
||||
|
||||
static int part_uevent(struct device *dev, struct kobj_uevent_env *env)
|
||||
static int part_uevent(struct device *dev, struct kobj_uvent_env *env)
|
||||
{
|
||||
struct gendisk *disk = dev_to_disk(dev);
|
||||
struct hd_struct *part = dev_to_part(dev);
|
||||
|
||||
add_uevent_var(env, "PARTN=%u", part->partno);
|
||||
|
||||
Reference in New Issue
Block a user