diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2019-07-04 13:21:33 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-07-15 06:23:07 +0000 |
commit | a263b22904036c04b52b1555239ae841f676a564 (patch) | |
tree | 404ecf65444bee86bcaffad1ff7400d8a04c436e /submit-for-review.sh | |
parent | d509f480b2d85dc86f027edc4c9badf79b5eb62f (diff) |
core: fix deadlock between statedump and fd_anonymous()
There exists a deadlock between statedump generation and fd_anonymous()
function because they are acquiring inode table lock and inode lock in
reverse order.
This patch modifies fd_anonymous() so that it takes inode lock only when
it's really necessary, avoiding the deadlock.
Change-Id: I24355447f0ea1b39e2546782ad07f0512cc381e7
Fixes: bz#1727068
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'submit-for-review.sh')
0 files changed, 0 insertions, 0 deletions