cleanup rtfs a little

This commit is contained in:
Izaya 2023-08-03 11:55:11 +10:00
parent b04b03b64a
commit 4f29360304

View File

@ -285,7 +285,6 @@ function proxy:relocateFile(n,dest,loud)
end
function proxy:defragment(loud)
loud=true
while self.runningDefragment do
coroutine.yield()
end
@ -418,7 +417,6 @@ function rtfs.mount(d)
local p = setmetatable({}, {__index=proxy})
local magic, version, isize, label = string.unpack(sbformat,d.readSector(1))
assert(magic == "rtfs", "incorrect magic")
if magic ~= "rtfs" then error("incorrect magic") end
p.d = d
p.fstype = "rtfs"
p.cache, p.handles = {}, {}