[PATCH 3.16.y-ckt 184/216] dm: fix missed error code if .end_io isn't implemented by target_type

2015-01-12 Thread Luis Henriques
3.16.7-ckt4 -stable review patch. If anyone has any objections, please let me know. -- From: zhendong chen commit 5164bece1673cdf04782f8ed3fba70743700f5da upstream. In bio-based DM's clone_endio(), when target_type doesn't implement .end_io (e.g. linear) r will be always be

[PATCH 3.16.y-ckt 184/216] dm: fix missed error code if .end_io isn't implemented by target_type

2015-01-12 Thread Luis Henriques
3.16.7-ckt4 -stable review patch. If anyone has any objections, please let me know. -- From: zhendong chen alex.c...@huawei.com commit 5164bece1673cdf04782f8ed3fba70743700f5da upstream. In bio-based DM's clone_endio(), when target_type doesn't implement .end_io (e.g. linear)