return yaffs_rmdir("/yaffs2/new_directory/");
} else {
return 1; /* the file failed to open so there is no need to close it */
return yaffs_rmdir("/yaffs2/new_directory/");
} else {
return 1; /* the file failed to open so there is no need to close it */