Skip to content
Commit 69a6487a authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent b3a9e3b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment