diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-09-17 20:47:44 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-01 21:15:42 +0200 |
commit | 2d11d9931f5968bddac50d9d224c4812d4be869a (patch) | |
tree | 6ea99eba85cc2de4d061c5c6d262b91aab6226c5 /drivers/block/amiflop.c | |
parent | cciss: Clear all sysfs-exposed data for deleted logical drives. (diff) | |
download | linux-2d11d9931f5968bddac50d9d224c4812d4be869a.tar.xz linux-2d11d9931f5968bddac50d9d224c4812d4be869a.zip |
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/block/amiflop.c')
0 files changed, 0 insertions, 0 deletions