| 168 | } |
| 169 | |
| 170 | static inline int rdev_chain_full(struct region_device *child, |
| 171 | const struct region_device *parent) |
| 172 | { |
| 173 | /* Chain full size of parent. */ |
| 174 | return rdev_chain(child, parent, 0, region_device_sz(parent)); |
| 175 | } |
| 176 | |
| 177 | /* |
| 178 | * Returns < 0 on error otherwise returns size of data read at provided |