summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-23 05:38:54 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-23 05:39:11 +0100
commit730c14e647edc1d0bf3a420d8ac9290615b4901e (patch)
tree6f4985691d584e035deb0a0b126aa14e04a44053 /Kernel/FileSystem.h
parenta1b4f719bab1603294c21215419b6ecb1621b7f7 (diff)
downloadserenity-730c14e647edc1d0bf3a420d8ac9290615b4901e.zip
VFS: Rename FS::id() to fsid() for consistency.
Diffstat (limited to 'Kernel/FileSystem.h')
-rw-r--r--Kernel/FileSystem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem.h b/Kernel/FileSystem.h
index 21a64decbb..789117d252 100644
--- a/Kernel/FileSystem.h
+++ b/Kernel/FileSystem.h
@@ -25,7 +25,7 @@ public:
static void initialize_globals();
virtual ~FS();
- dword id() const { return m_fsid; }
+ unsigned fsid() const { return m_fsid; }
static FS* from_fsid(dword);
static void sync();
@@ -53,7 +53,7 @@ protected:
FS();
private:
- dword m_fsid { 0 };
+ unsigned m_fsid { 0 };
bool m_readonly { false };
};
@@ -132,7 +132,7 @@ inline bool InodeIdentifier::is_root_inode() const
inline unsigned Inode::fsid() const
{
- return m_fs.id();
+ return m_fs.fsid();
}
namespace AK {