diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-03-27 10:34:20 +0800 |
---|---|---|
committer | Jeff Layton <jeff.layton@primarydata.com> | 2015-03-27 07:18:20 -0400 |
commit | a901125c65544aa05c52e1a7388c3900e8af105f (patch) | |
tree | 7fffcbe51519876521a175597428ca7e6e64c0b1 /fs/affs/namei.c | |
parent | 3c435c1e472ba344ee25f795f4807d4457e61f6c (diff) |
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 'fs/affs/namei.c')
0 files changed, 0 insertions, 0 deletions