• Jens Axboe's avatar
    Btrfs: sysfs compile fixup · b4a2a0ed
    Jens Axboe authored
    Just use kobject_set_name(), that works in all kernels (I think...).
    Kernels newer than 2.6.23 currently fail with:
    
    /home/axboe/git/btrfs/btrfs-unstable/sysfs.c:188: error: unknown field
    'name' specified in initializer
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    b4a2a0ed
sysfs.c 6.68 KB