summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-11-16 19:44:02 +0100
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 19:01:45 +0100
commit89f5e1f2f13b1079b8d7ff7d3ade345b7ad7c009 (patch)
treee2a6c1a93428c870561646558666e2a01d05a5fa /lib
parent[SCSI] libosd: osd_sense: OSD_CFO_PERMISSIONS (diff)
downloadlinux-89f5e1f2f13b1079b8d7ff7d3ade345b7ad7c009.tar.xz
linux-89f5e1f2f13b1079b8d7ff7d3ade345b7ad7c009.zip
[SCSI] osduld: Ref-counting bug fix
If scsi has released the device (logout), and exofs has last reference on the osduld_device it will be freed by osd_uld_release() within the call to fput(). But this will oops in cdev_release() which is called after the fops->release. (cdev is embedded within osduld_device). __uld_get/put pair makes sure we have a cdev for the duration of fput() Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions