diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-05-12 23:01:55 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-13 16:21:53 +0200 |
commit | fb40da0429e1dcd306e3216b5c73cfd199194317 (patch) | |
tree | 5387bd80d7273deb373de759c0164633525811e5 /Kernel/FileSystem/InodeMetadata.h | |
parent | 5dc5f31f76a734c1ad98b82b8081c027f18ca6a7 (diff) | |
download | serenity-fb40da0429e1dcd306e3216b5c73cfd199194317.zip |
Kernel: Replace make<T>() with adopt_own_if_nonnull() in Ext2FileSystem
The make<T> factory function allocates internally and immediately
dereferences the pointer, and always returns a NonnullOwnPtr<T> making
it impossible to propagate an error on OOM.
Diffstat (limited to 'Kernel/FileSystem/InodeMetadata.h')
0 files changed, 0 insertions, 0 deletions