aoe: fix sysfs_create_file warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Apr 2002 19:14:34 +0000 (12:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 19:53:51 +0000 (12:53 -0700)
commit4ca5224f3ea4779054d96e885ca9b3980801ce13
tree04b75b597b8c57978b4bbee29448114c89f6dc94
parenta12c93f08b8fc83b7fcdabaf92b1adcea7489f5e
aoe: fix sysfs_create_file warnings

Moved the attributes into a group, making the compiler be quiet about
ignoring the return value of the file create calls.  This also also
fixed a bug when removing the files, which were not symlinks.

Cc: "Ed L. Cashin" <ecashin@coraid.com>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/aoe/aoeblk.c