summaryrefslogtreecommitdiff
path: root/futility/file_type_rwsig.c
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2017-02-20 21:26:58 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-02-24 05:42:55 -0800
commitb1b5cf7ee83a7f70c23f015a53a34948bf23dd11 (patch)
tree4bfacf65a601a0ecdebddab6468dcf51170608a0 /futility/file_type_rwsig.c
parent83bd850f3fd45648bb811f6080efac396c8a2062 (diff)
downloadvboot-b1b5cf7ee83a7f70c23f015a53a34948bf23dd11.tar.gz
cgpt: find: filter out more devices before touching them
A partition's name would always start with the disk name. And in /proc/partitions, the partitions are always listed right after the disk. Let's filter out devices which are not followed by partitions when go through the /proc/partitions. BUG=chrome-os-partner:62955 TEST=run "cgpt find -t kernel" on kevin, no more this warning: blk_update_request: I/O error, dev mmcblk0rpmb Change-Id: If200a2476d26b1beaf644838d47ea2e60552855e Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Reviewed-on: https://chromium-review.googlesource.com/444492 Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'futility/file_type_rwsig.c')
0 files changed, 0 insertions, 0 deletions