| root.dir?, fids-cons(root, fs, ofh), posix-crash(root, fs, ofh, tree, fs0, ofh0) ⊦ ∃ err. pre-mkdir(path, md, err, user, root, fs, ofh) ∧ ⟨err0 := err; if err0 = ESUCCESS then root[path] := dnode(md, ∅); psynced := ?⟩ (psynced ∧ posix-crash(root, fs, ofh, tree, fs0, ofh0)), ⟨err0 := EFAIL; if err0 = ESUCCESS then root[path] := dnode(md, ∅); psynced := ?⟩ (psynced ∧ posix-crash(root, fs, ofh, tree, fs0, ofh0)) |
root.dir?, fids-cons(root, fs, ofh), posix-crash(root, fs, ofh, tree, fs0, ofh0) ⊦ ⟨if EFAIL = ESUCCESS then root[path] := dnode(md, ∅); psynced := ?⟩ (psynced ∧ posix-crash(root, fs, ofh, tree, fs0, ofh0)), ∃ err. pre-mkdir(path, md, err, user, root, fs, ofh) ∧ ⟨err0 := err; if err0 = ESUCCESS then root[path] := dnode(md, ∅); psynced := ?⟩ (psynced ∧ posix-crash(root, fs, ofh, tree, fs0, ofh0))