1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-31 14:50:37 +03:00

cache: Clean-up error message.

It is not an internal error message to report to the user that they
cannot create a cache LV on top of a cache LV.  It is simply not
supported yet.
This commit is contained in:
Jonathan Brassow 2014-08-24 19:44:37 -05:00
parent dd9700f192
commit 8b9eb95ea9

View File

@ -117,9 +117,8 @@ struct logical_volume *lv_cache_create(struct logical_volume *pool,
* The origin under the origin would become *_corig_corig
* before renaming the origin above to *_corig.
*/
log_error(INTERNAL_ERROR
"The origin, %s, cannot be of cache type",
origin->name);
log_error("Creating a cache LV from an existing cache LV is"
"not yet supported.");
return NULL;
}