mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
bbf0d0062d
commit
b4a2a0edfd
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue