aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2012-08-29 17:11:07 -0500
committerAlex Elder <[email protected]>2012-10-01 14:30:52 -0500
commit05fd6f6f8c7b07e746d513e4cf862675b70aac59 (patch)
tree330b959abad9744b2c377daf803efd274973df1e /lib/mpi/mpi-internal.h
parent5ed1617731a1e9201c3541a9c05ce3ec73975589 (diff)
rbd: read the header before registering device
Read the rbd header information and call rbd_dev_set_mapping() earlier--before registering the block device or setting up the sysfs entries for the image. The sysfs entries provide users access to some information that's only available after doing the rbd header initialization, so this will make sure it's valid right away. Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions