diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-01 16:01:22 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-01 16:35:03 +0800 |
commit | d5f20209cc34a5357486a2f495bfe30b5d6e2056 (patch) | |
tree | 46e4c7e297500674d92b2ea539dd106a6f1385f5 /pkg/merkletree/merkletree.go | |
parent | 67484384935fa814e978f08dfa0f0bdbddbbd371 (diff) |
fsimpl/host: fix the order of removing FD notifier
FD notifier should be removed before we close the FD,
otherwise there will be race condition that another FD
which has the same value is opened and added before the
existing FD notifier is removed.
Fixes: #3823
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'pkg/merkletree/merkletree.go')
0 files changed, 0 insertions, 0 deletions