[PATCH 1/2] ceph: Do not leak fscache workqueue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Previously I was not cleanup up the ceph fscache validate workqueue on
filesystem unmount.

Signed-off-by: Milosz Tanski <milosz@xxxxxxxxx>
---
 fs/ceph/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index a56baab..a14b13a 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -584,6 +584,7 @@ static void destroy_fs_client(struct ceph_fs_client *fsc)
 
 #ifdef CONFIG_CEPH_FSCACHE
 	ceph_fscache_unregister_fsid_cookie(fsc);
+	destroy_workqueue(fsc->revalidate_wq);
 #endif
 
 	destroy_workqueue(fsc->wb_wq);
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux