boolean del = MetaFileStore.removeMetaFile(f.getPath());
if (del)</BUG>
return 0;
else {
<BUG>if (SDFSLogger.isDebug())
SDFSLogger.getLog().debug(
"unable to delete folder "
+ f.getPath());
throw new FuseException()
.initErrno(Errno.ENOTEMPTY);</BUG>
}

} else {
File f = resolvePath(path);
if (f.getName().equals(".") || f.getName().equals(".."))
return 0;
else {
try {
if (MetaFileStore.removeMetaFile(f.getPath(), false, false))
return 0;
else {
if (SDFSLogger.isDebug())
SDFSLogger.getLog().debug("unable to delete folder " + f.getPath());
throw new FuseException().initErrno(Errno.ENOTEMPTY);
