commit | b4a2a0edfda5a721bb4c5fa0068d2ad7ea67f98b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Oct 19 09:23:08 2007 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:57 2008 -0400 |
tree | 77fb5ea8e40249955dbe0aa5039ea7a56ec2c4f3 | |
parent | bbf0d0062da2b3e1e239e381f8ac20971ef1b2ed [diff] |
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>