Remove the 'dev_major' and 'dev_minor' fields from the volume
information structure, because these fields should be provided
by the device information structure.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* @vol_id: ID of this volume
* @major: major number of corresponding volume character device
* @minor: minor number of corresponding volume character device
- * @dev_major: major number of corresponding UBI device character device
- * @dev_minor: minor number of corresponding UBI device character device
* @type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
* @alignment: alignment of this volume
* @data_bytes: how many data bytes are stored on this volume (equivalent to
int vol_id;
int major;
int minor;
- int dev_major;
- int dev_minor;
int type;
int alignment;
long long data_bytes;
info->dev_num = dev_num;
info->vol_id = vol_id;
- if (dev_get_major(lib, dev_num, &info->dev_major, &info->dev_minor))
- return -1;
if (vol_get_major(lib, dev_num, vol_id, &info->major, &info->minor))
return -1;