Removed debug output

This commit is contained in:
Sebastian Messmer 2015-09-29 18:58:32 +02:00
parent 188bbe0c6d
commit a6088aae29

View File

@ -285,22 +285,19 @@ int Fuse::mkdir(const bf::path &path, mode_t mode) {
std::cerr << "AssertFailed in Fuse::mkdir: " << e.what() << std::endl;
return -EIO;
} catch(fspp::fuse::FuseErrnoException &e) {
std::cerr << "FuseError in Fuse::mkdir: "<<e.what() << std::endl;
return -e.getErrno();
}
}
int Fuse::unlink(const bf::path &path) {
printf("unlink(%s)\n", path.c_str());
//printf("unlink(%s)\n", path.c_str());
try {
_fs->unlink(path);
printf("unlink done\n");
return 0;
} catch(const cpputils::AssertFailed &e) {
std::cerr << "AssertFailed in Fuse::unlink: " << e.what() << std::endl;
return -EIO;
} catch(fspp::fuse::FuseErrnoException &e) {
std::cerr << "FuseError in Fuse::unlink: " << e.what() << std::endl;
return -e.getErrno();
}
}