diff options
author | Alex Elder <elder@inktank.com> | 2012-08-29 17:11:07 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:52 -0500 |
commit | 5ed1617731a1e9201c3541a9c05ce3ec73975589 (patch) | |
tree | cb18a94136c7e97ab3c2298cd16a8becaec812a2 /arch/mn10300 | |
parent | 304f68086f8206da7c5930a9cb0207c91d1983a6 (diff) | |
download | talos-obmc-linux-5ed1617731a1e9201c3541a9c05ce3ec73975589.tar.gz talos-obmc-linux-5ed1617731a1e9201c3541a9c05ce3ec73975589.zip |
rbd: call set_snap() before snap_devs_update()
rbd_header_set_snap() is a simple initialization routine for an rbd
device's mapping. It has to be called after the snapshot context
for the rbd_dev has been updated, but can be done before snapshot
devices have been registered.
Change the name to rbd_dev_set_mapping() to better reflect its
purpose, and call it a little sooner, before registering snapshot
devices.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions