mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +00:00 
			
		
		
		
	Kernel: Make VirtualFileSystem::sync() static
This commit is contained in:
		
							parent
							
								
									0d39bd04d3
								
							
						
					
					
						commit
						07c4c89297
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -18,7 +18,7 @@ UNMAP_AFTER_INIT void SyncTask::spawn() | |||
|     Process::create_kernel_process(syncd_thread, "SyncTask", [] { | ||||
|         dbgln("SyncTask is running"); | ||||
|         for (;;) { | ||||
|             VirtualFileSystem::the().sync(); | ||||
|             VirtualFileSystem::sync(); | ||||
|             (void)Thread::current()->sleep(Time::from_seconds(1)); | ||||
|         } | ||||
|     }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling