diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2011-07-21 20:01:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-22 17:43:52 -0700 |
commit | 58f2a4c7932d8bec866d0394f806004146cde827 (patch) | |
tree | edbd5b8fb32005bc1b7ccc849fee23e97172ce53 /fs/libfs.c | |
parent | 4f72c0cab40536a0be501d85ea4918467ab82ad5 (diff) |
sysfs: remove s_sibling hacks
sysfs: remove s_sibling hacks
s_sibling was used for three different purposes:
1) as a linked list of entries in the directory
2) as a linked list of entries to be deleted
3) as a pointer to "struct completion"
This patch removes the hack and introduces new union u which
holds pointers for cases 2) and 3).
This change is needed for the following patch that removes s_sibling at all
and replaces it with a rb tree.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions