MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / RegisterVolume

Function RegisterVolume

Kernel/src/fs/filesystem.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 void RegisterVolume(FsVolume* vol){
38 vol->mountPoint->parent = &root;
39 vol->volumeID = GetVolumeID();
40 volumes->add_back(vol);
41 }
42
43 FsNode* GetRoot(){
44 return &root;

Callers 1

DevFSMethod · 0.85

Calls 2

GetVolumeIDFunction · 0.85
add_backMethod · 0.45

Tested by

no test coverage detected