diff --git a/Kernel/FileSystem/Custody.cpp b/Kernel/FileSystem/Custody.cpp index d211c37684..2b92f15cb8 100644 --- a/Kernel/FileSystem/Custody.cpp +++ b/Kernel/FileSystem/Custody.cpp @@ -40,7 +40,7 @@ KResultOr> Custody::try_create(Custody* parent, StringVie if (!custody) return ENOMEM; - all_custodies.append(*custody); + all_custodies.prepend(*custody); return custody.release_nonnull(); }); }