summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeMetadata.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-12 23:01:55 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-13 16:21:53 +0200
commitfb40da0429e1dcd306e3216b5c73cfd199194317 (patch)
tree5387bd80d7273deb373de759c0164633525811e5 /Kernel/FileSystem/InodeMetadata.h
parent5dc5f31f76a734c1ad98b82b8081c027f18ca6a7 (diff)
downloadserenity-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