Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Jens Axboe b4a2a0edfd Btrfs: sysfs compile fixup
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: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:57 -04:00
fs/btrfs Btrfs: sysfs compile fixup 2008-09-25 11:03:57 -04:00