diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-09-17 13:47:44 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-01 21:15:42 +0200 |
commit | 2d11d9931f5968bddac50d9d224c4812d4be869a (patch) | |
tree | 6ea99eba85cc2de4d061c5c6d262b91aab6226c5 /drivers/i2c/busses/i2c-versatile.c | |
parent | 9ddb27b44ffeb3080b71cc493b2edff2224d9356 (diff) |
cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs.
When rebuild_lun_table is reached via sysfs, the usage count that
is checked prior to messing with c0d0 has different constraints
(must be zero) than if rebuild_lun_table is reached via ioctl
(must be one.) Fix rebuild_lun_table to take that into account.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-versatile.c')
0 files changed, 0 insertions, 0 deletions