[sheepdog] [PATCH v2 4/5] sheep: refactor vdi lookup, create, delete operation

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Apr 25 18:45:53 CEST 2013


> +
> +static inline bool is_snapshot(struct sheepdog_inode *inode)
> +{
> +	return !!inode->snap_ctime;
> +}
> +

vdi_is_snapshot isn't better?

Thanks,

Kazutaka



More information about the sheepdog mailing list