Author: pschweitzer
Date: Tue May 10 21:08:50 2016
New Revision: 71315
URL:
http://svn.reactos.org/svn/reactos?rev=71315&view=rev
Log:
[BTRFS]
Cherry pick d71baf195715601212a2043f153400a964da6a18: Don't remove an entry list twice
in add_to_space_list()
This avoids linked list entry twice removal
CORE-11057
Modified:
trunk/reactos/drivers/filesystems/btrfs/write.c
Modified: trunk/reactos/drivers/filesystems/btrfs/write.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/btrfs/…
==============================================================================
--- trunk/reactos/drivers/filesystems/btrfs/write.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/btrfs/write.c [iso-8859-1] Tue May 10 21:08:50 2016
@@ -250,10 +250,6 @@
}
if (s->offset >= offset && s->offset + s->size <= offset +
size) { // delete entirely
-#ifndef __REACTOS__
- RemoveEntryList(&s->list_entry);
-#endif
-
if (s->offset + s->size == offset + size) {
insbef = s->list_entry.Flink;
RemoveEntryList(&s->list_entry);