diff options
author | Max Reitz <mreitz@redhat.com> | 2014-10-24 12:57:59 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-11-03 11:41:47 +0000 |
commit | d7f62751a14d1d34c7d388431a3e403ef1fe28a5 (patch) | |
tree | eff7b0c6051d6f17f6682ca6c2cc4bdd1ca4f454 /pixman | |
parent | e6d7ec32dd315422a023ed3425fe36df8c274eeb (diff) |
raw-posix: raw_co_get_block_status() return value
Instead of generating the full return value thrice in try_fiemap(),
try_seek_hole() and as a fall-back in raw_co_get_block_status() itself,
generate the value only in raw_co_get_block_status().
While at it, also remove the pnum parameter from try_fiemap() and
try_seek_hole().
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1414148280-17949-3-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'pixman')
0 files changed, 0 insertions, 0 deletions