commit | 69a6487ac0ea1bbc8d8b654cb5a4541f2d922f91 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Tue Jul 14 14:45:41 2020 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Tue Jul 14 14:45:41 2020 +0200 |
tree | c6a21a219d65de6f8a3569ed8ce6fbf62a1fda01 | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 [diff] |
fuse: move rb_erase() before tree_insert() In fuse_writepage_end() the old writepages entry needs to be removed from the rbtree before inserting the new one, otherwise tree_insert() would fail. This is a very rare codepath and no reproducer exists. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>