diff options
author | Alex Elder <elder@inktank.com> | 2013-04-27 09:59:30 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:19:51 -0700 |
commit | d1cf5788450e1781f63a0626a854fe8309b32cb1 (patch) | |
tree | 78fc5c0297b73cd684f62513ad330636b3b8e75b /drivers/video/gbefb.c | |
parent | 05a46afdc7f0f73d42dcecd8ee80f9558b4c38f7 (diff) |
rbd: set mapping info earlier
Set the mapping size and features earlier in rbd_dev_probe_finish().
Define rbd_dev_mapping_clear() as an inverse for setting those
fields, and use it both in error handling in rbd_dev_image_probe()
and in the final cleanup in rbd_dev_release(). Change the name
of rbd_dev_set_mapping() to of rbd_dev_mapping_set().
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/video/gbefb.c')
0 files changed, 0 insertions, 0 deletions