|
@@ -1433,6 +1433,10 @@ int osd_finalize_request(struct osd_request *or,
|
|
cdbh->command_specific_options |= or->attributes_mode;
|
|
cdbh->command_specific_options |= or->attributes_mode;
|
|
if (or->attributes_mode == OSD_CDB_GET_ATTR_PAGE_SET_ONE) {
|
|
if (or->attributes_mode == OSD_CDB_GET_ATTR_PAGE_SET_ONE) {
|
|
ret = _osd_req_finalize_attr_page(or);
|
|
ret = _osd_req_finalize_attr_page(or);
|
|
|
|
+ if (ret) {
|
|
|
|
+ OSD_DEBUG("_osd_req_finalize_attr_page failed\n");
|
|
|
|
+ return ret;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
/* TODO: I think that for the GET_ATTR command these 2 should
|
|
/* TODO: I think that for the GET_ATTR command these 2 should
|
|
* be reversed to keep them in execution order (for embeded
|
|
* be reversed to keep them in execution order (for embeded
|