summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-02 03:28:20 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-02 03:28:20 +0200
commitc3b7ace3e0d943326575b4d6d7b6a33e47d7242a (patch)
tree3fec7ab24ff125346c7d95851b8ed30806c69b70 /Kernel/FileSystem/FileSystem.h
parent2dc72bb2974f12667cf8a934ba5fefcc78b6debb (diff)
downloadserenity-c3b7ace3e0d943326575b4d6d7b6a33e47d7242a.zip
Kernel: Assign Lock names in class member initializers.
Diffstat (limited to 'Kernel/FileSystem/FileSystem.h')
-rw-r--r--Kernel/FileSystem/FileSystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/FileSystem.h b/Kernel/FileSystem/FileSystem.h
index abe31cdd11..575b93b083 100644
--- a/Kernel/FileSystem/FileSystem.h
+++ b/Kernel/FileSystem/FileSystem.h
@@ -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;