mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Kernel: InodeVMObject can't call Inode::size() with interrupts disabled
Inode::size() may try to take a lock, so we can't be calling it with interrupts disabled. This fixes a kernel hang when trying to execute a binary in a TmpFS.
This commit is contained in:
parent
1dc64ec064
commit
aba7829724
2 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
int release_all_clean_pages();
|
||||
|
||||
private:
|
||||
explicit InodeVMObject(Inode&);
|
||||
explicit InodeVMObject(Inode&, size_t);
|
||||
explicit InodeVMObject(const InodeVMObject&);
|
||||
|
||||
InodeVMObject& operator=(const InodeVMObject&) = delete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue