Removed debug output
This commit is contained in:
parent
188bbe0c6d
commit
a6088aae29
@ -285,22 +285,19 @@ int Fuse::mkdir(const bf::path &path, mode_t mode) {
|
|||||||
std::cerr << "AssertFailed in Fuse::mkdir: " << e.what() << std::endl;
|
std::cerr << "AssertFailed in Fuse::mkdir: " << e.what() << std::endl;
|
||||||
return -EIO;
|
return -EIO;
|
||||||
} catch(fspp::fuse::FuseErrnoException &e) {
|
} catch(fspp::fuse::FuseErrnoException &e) {
|
||||||
std::cerr << "FuseError in Fuse::mkdir: "<<e.what() << std::endl;
|
|
||||||
return -e.getErrno();
|
return -e.getErrno();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int Fuse::unlink(const bf::path &path) {
|
int Fuse::unlink(const bf::path &path) {
|
||||||
printf("unlink(%s)\n", path.c_str());
|
//printf("unlink(%s)\n", path.c_str());
|
||||||
try {
|
try {
|
||||||
_fs->unlink(path);
|
_fs->unlink(path);
|
||||||
printf("unlink done\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
} catch(const cpputils::AssertFailed &e) {
|
} catch(const cpputils::AssertFailed &e) {
|
||||||
std::cerr << "AssertFailed in Fuse::unlink: " << e.what() << std::endl;
|
std::cerr << "AssertFailed in Fuse::unlink: " << e.what() << std::endl;
|
||||||
return -EIO;
|
return -EIO;
|
||||||
} catch(fspp::fuse::FuseErrnoException &e) {
|
} catch(fspp::fuse::FuseErrnoException &e) {
|
||||||
std::cerr << "FuseError in Fuse::unlink: " << e.what() << std::endl;
|
|
||||||
return -e.getErrno();
|
return -e.getErrno();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user