diff options
author | John Hughes <john@Calva.COM> | 2009-11-04 18:01:22 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-03-23 16:35:57 (GMT) |
commit | 877a55979c189c590e819a61cbbe2b7947875f17 (patch) | |
tree | 8d16554228cd8b710c885fcaaa48b592bd8e24e5 /kernel/res_counter.c | |
parent | 4bbba111d94781d34081c37856bbc5eb33f6c72a (diff) | |
download | linux-877a55979c189c590e819a61cbbe2b7947875f17.tar.xz |
[SCSI] ses: show devices for enclosures with no page 7
enclosure page 7 gives us the "pretty" names of the enclosure slots.
Without a page 7, we can still use the enclosure code as long as we
make up numeric names for the slots. Unfortunately, the current code
fails to add any devices because the check for page 10 is in the wrong
place if we have no page 7. Fix it so that devices show up even if
the enclosure has no page 7.
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions