diff options
author | Tejun Heo <tj@kernel.org> | 2013-02-28 02:03:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:13 +0100 |
commit | cda95406c8fe491c01b3abc422c25a613e9f36ea (patch) | |
tree | 6b9337646a9a9b1b5c90356e3fc351aeec550802 /fs/dlm/lockspace.c | |
parent | rpmsg: don't use idr_remove_all() (diff) | |
download | linux-cda95406c8fe491c01b3abc422c25a613e9f36ea.tar.xz linux-cda95406c8fe491c01b3abc422c25a613e9f36ea.zip |
dlm: use idr_for_each_entry() in recover_idr_clear() error path
Convert recover_idr_clear() to use idr_for_each_entry() instead of
idr_for_each(). It's somewhat less efficient this way but it shouldn't
matter in an error path. This is to help with deprecation of
idr_remove_all().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christine Caulfield <ccaulfie@redhat.com>
Cc: David Teigland <teigland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dlm/lockspace.c')
0 files changed, 0 insertions, 0 deletions