diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-14 03:45:13 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 16:09:03 -0700 |
commit | 2b611bb7abdcc08278453fc9f6517401fd69ef95 (patch) | |
tree | a236b9090d541ed2c24e4fa9e3ee19c1237fc33f /lib/cmdline.c | |
parent | fa7f912ad4ae0ed7591add52422e48282389652d (diff) | |
download | op-kernel-dev-2b611bb7abdcc08278453fc9f6517401fd69ef95.zip op-kernel-dev-2b611bb7abdcc08278453fc9f6517401fd69ef95.tar.gz |
sysfs: allocate inode number using ida
sysfs used simple incrementing allocator which is not guaranteed to be
unique. This patch makes sysfs use ida to give each sd a unique and
packed inode number.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions