1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

Kernel: Assign Lock names in class member initializers.

This commit is contained in:
Andreas Kling 2019-05-02 03:28:20 +02:00
parent 2dc72bb297
commit c3b7ace3e0
12 changed files with 11 additions and 18 deletions

View file

@ -62,7 +62,7 @@ public:
protected:
FS();
mutable Lock m_lock;
mutable Lock m_lock { "FS" };
private:
unsigned m_fsid { 0 };
@ -133,7 +133,7 @@ protected:
void inode_contents_changed(off_t, ssize_t, const byte*);
void inode_size_changed(size_t old_size, size_t new_size);
mutable Lock m_lock;
mutable Lock m_lock { "Inode" };
private:
FS& m_fs;