From: Tejun Heo Date: Thu, 28 Feb 2013 01:03:46 +0000 (-0800) Subject: nfs: idr_destroy() no longer needs idr_remove_all() X-Git-Tag: v3.9-rc1~46^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97bec801d726abb14ab0e18d6aef5293580a467;p=pandora-kernel.git nfs: idr_destroy() no longer needs idr_remove_all() idr_destroy() can destroy idr by itself and idr_remove_all() is being deprecated. Drop reference to idr_remove_all(). Note that the code wasn't completely correct before because idr_remove() on all entries doesn't necessarily release all idr_layers which could lead to memory leak. Signed-off-by: Tejun Heo Cc: "J. Bruce Fields" Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed