commit | 4caf0fcd45db46920a6264b1621ae6adc772ef19 | [log] [tgz] |
---|---|---|
author | Jeff Cody <jcody@redhat.com> | Wed Jun 25 15:35:26 2014 -0400 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Jul 01 10:15:34 2014 +0200 |
tree | 9deef9048dfbd6a9955fcd4abec4072444b536d6 | |
parent | 7676e2c597000eff3a7233b40cca768b358f9bc9 [diff] |
block: simplify bdrv_find_base() and bdrv_find_overlay() This simplifies the function bdrv_find_overlay(). With this change, bdrv_find_base() is just a subset of usage of bdrv_find_overlay(), so this also takes advantage of that. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>