diff options
author | 2015-03-27 10:34:20 +0800 | |
---|---|---|
committer | 2015-03-27 07:18:20 -0400 | |
commit | a901125c65544aa05c52e1a7388c3900e8af105f (patch) | |
tree | 7fffcbe51519876521a175597428ca7e6e64c0b1 /scripts/gdb/linux/utils.py | |
parent | Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff) | |
download | linux-rng-a901125c65544aa05c52e1a7388c3900e8af105f.tar.xz linux-rng-a901125c65544aa05c52e1a7388c3900e8af105f.zip |
locks: fix file_lock deletion inside loop
locks_delete_lock_ctx() is called inside the loop, so we
should use list_for_each_entry_safe.
Fixes: 8634b51f6ca2 (locks: convert lease handling to file_lock_context)
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions