diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-11 16:20:23 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-09-11 16:20:23 +0400 |
commit | 2dc75d3c3b49c64fd26b4832a7efb75546cb3fc5 (patch) | |
tree | 908ae81851ca06d46a680d8e6c33afdfb292c131 /drivers/scsi/sd.c | |
parent | adee14b2e1557d0a8559f29681732d05a89dfc35 (diff) | |
download | linux-2dc75d3c3b49c64fd26b4832a7efb75546cb3fc5.tar.xz |
block: disable sysfs parts of the disk command filter
We still have life time issues with the sysfs command filter kobject,
so disable it for 2.6.27 release. We can revisit this and make it work
properly for 2.6.28, for 2.6.27 release it's too risky.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 2a2bc89aba83..e5e7d7856454 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1875,7 +1875,6 @@ static int sd_probe(struct device *dev) dev_set_drvdata(dev, sdkp); add_disk(gd); - blk_register_filter(gd); sd_dif_config_host(sdkp); sd_printk(KERN_NOTICE, sdkp, "Attached SCSI %sdisk\n", @@ -1909,7 +1908,6 @@ static int sd_remove(struct device *dev) struct scsi_disk *sdkp = dev_get_drvdata(dev); device_del(&sdkp->dev); - blk_unregister_filter(sdkp->disk); del_gendisk(sdkp->disk); sd_shutdown(dev); |