]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs-obj: No longer needed to take an extra ref at add_device
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 17 Jun 2011 20:25:51 +0000 (16:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 19 Jun 2011 18:49:51 +0000 (14:49 -0400)
commit8e545a04efcb21033f2b6ca4a26a4e6bd56ce13f
treea3083c18d3370fd959cbb6d1a654823a2c612068
parent61b8276cb9f4253e30aa3ffc1a9db320774fa2cf
pnfs-obj: No longer needed to take an extra ref at add_device

Andy's last device_cache patches, already take an extra
reference on the newly inserted device_id. So we can remove it
from obj-io.

Without this patch the device_ids are leaked.

Andy's patches are not in Linus tree yet. So I'm not sure if they are
scheduled for this Kernel or the next. This patch should be added as
part of these.

CC: Andy Adamson <andros@netapp.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/objlayout/objio_osd.c