diff options
author | Alex Elder <elder@inktank.com> | 2012-08-30 14:42:15 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:51 -0500 |
commit | 8836b995fd192dba23d312d2a4fba68dd8ca7183 (patch) | |
tree | a04165a494e9327bf052b7ed25f94ba86a28e057 /drivers/block/osdblk.c | |
parent | 4e1105a299adf7ac421d42a8be05205f51610f3c (diff) | |
download | linux-8836b995fd192dba23d312d2a4fba68dd8ca7183.tar.gz |
rbd: simplify snap_by_name() interface
There is only one caller of snap_by_name(), and it passes two values
to be assigned, both of which are found within an rbd device
structure.
Change the interface so it just passes the address of the rbd_dev,
and make the assignments to its fields directly.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/osdblk.c')
0 files changed, 0 insertions, 0 deletions