Example #1
0
static int nilfs_clean_do_shutdown(struct nilfs_cleaner *cleaner)
{
	if (nilfs_cleaner_shutdown(cleaner) < 0) {
		myprintf(_("Error: shutdown failed: %s\n"), strerror(errno));
		return -1;
	}
	return 0;
}
Example #2
0
static int nilfs_clean_do_shutdown(struct nilfs_cleaner *cleaner)
{
	int ret;

	ret = nilfs_cleaner_shutdown(cleaner);
	if (unlikely(ret < 0)) {
		myprintf(_("Error: shutdown failed: %s\n"), strerror(errno));
		return -1;
	}
	return 0;
}