summaryrefslogtreecommitdiff
path: root/include/linux/sound.h
diff options
context:
space:
mode:
authorJoel Reardon <joel@clambassador.com>2012-05-16 12:20:56 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-21 08:34:41 (GMT)
commit6dd3bc7e6032ffb392477fadca77172c1c9e346b (patch)
tree7578223021e61398f46f84c5f4fb42300ce44d10 /include/linux/sound.h
parent5cc09420e2bcd75d6a8f701c60a179ebb564cb3c (diff)
downloadlinux-fsl-qoriq-6dd3bc7e6032ffb392477fadca77172c1c9e346b.tar.xz
UBI: add volume id struct ubi_ainf_peb
This patch adds the volume id to struct ubi_ainf_peb when scanning the LEBs at startup. PEBs now added to the erase queue will know their original LEB number and volume id, if available, and will be -1 otherwise (for instance, if the VID header is unreadable). This was tested by creating an ubi device with 3 volumes and disabiling the ubi_thread's do_work functionality. The different ubi volumes were formatted to ubifs and had files created and erased. The ubi modules was reloaded and the list of LEB's added to the erased list was outputted, confirming the volume ids and LEB numbers were appropriate. Signed-off-by: Joel Reardon <reardonj@inf.ethz.ch> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include/linux/sound.h')
0 files changed, 0 insertions, 0 deletions