All: Clear lines with only whitspace in them

This commit is contained in:
Bananymous
2023-09-09 22:52:03 +03:00
parent 1fcf122c50
commit 921d95d18f
67 changed files with 95 additions and 119 deletions

View File

@@ -12,7 +12,7 @@ namespace Kernel
return BAN::Error::from_errno(ENOMEM);
return BAN::RefPtr<Inode>::adopt(pipe);
}
Pipe::Pipe(const Credentials& credentials)
: m_uid(credentials.euid())
, m_gid(credentials.egid())
@@ -29,7 +29,7 @@ namespace Kernel
ASSERT(m_writing_count > 0);
m_writing_count++;
}
void Pipe::close_writing()
{
LockGuard _(m_lock);
@@ -63,7 +63,7 @@ namespace Kernel
return to_copy;
}
BAN::ErrorOr<size_t> Pipe::write_impl(off_t, const void* buffer, size_t count)
{
LockGuard _(m_lock);
@@ -81,5 +81,5 @@ namespace Kernel
return count;
}
}

View File

@@ -6,7 +6,7 @@ namespace Kernel
{
/*
RAM INODE
*/
@@ -68,7 +68,7 @@ namespace Kernel
}
/*
RAM DIRECTORY INODE
*/
@@ -217,7 +217,7 @@ namespace Kernel
}
/*
RAM SYMLINK INODE
*/

View File

@@ -35,7 +35,7 @@ namespace Kernel
auto* tmpfs = MUST(RamFileSystem::create(1024 * 1024, tmpfs_mode, 0, 0));
MUST(s_instance->mount(root_creds, tmpfs, "/tmp"));
}
VirtualFileSystem& VirtualFileSystem::get()
{
ASSERT(s_instance);