VFS server: throw Not_empty

Issue #1750
This commit is contained in:
Emery Hemingway 2015-10-30 16:44:33 +01:00 committed by Christian Helmuth
parent 1d92631ef0
commit 44cfc414ee

View File

@ -82,6 +82,7 @@ namespace File_system {
switch (r) {
case Result::UNLINK_ERR_NO_ENTRY: throw Lookup_failed();
case Result::UNLINK_ERR_NO_PERM: throw Permission_denied();
case Result::UNLINK_ERR_NOT_EMPTY: throw Not_empty();
case Result::UNLINK_OK: break;
}
}