summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Custody.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-06 11:06:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-06 13:06:05 +0200
commit47bfbe343bd7e0cc5d841c458fd1f6241acf2a90 (patch)
treecd3ebc0bfe0f5ab83c4eef66d0823b8d87ba55c7 /Kernel/FileSystem/Custody.cpp
parent788b91a65cd8cea0d7a4899c5df1cc8a1c732640 (diff)
downloadserenity-47bfbe343bd7e0cc5d841c458fd1f6241acf2a90.zip
Kernel: Tidy up SysFS construction
- Use KResultOr and TRY() to propagate errors - Check for OOM errors - Move allocation out of constructors There's still a lot more to do here, as SysFS is still quite brittle in the face of memory pressure.
Diffstat (limited to 'Kernel/FileSystem/Custody.cpp')
0 files changed, 0 insertions, 0 deletions