]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rbd: encapsulate new rbd id selection
authorAlex Elder <elder@dreamhost.com>
Sun, 29 Jan 2012 19:57:43 +0000 (13:57 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:47 +0000 (10:47 -0500)
commitb7f23c361b65a0bdcc81acd8d38471b7810df3ff
tree6ff42f4ebe263453ba14d61d6b0cf56c98d22e42
parentcc9d734c3d1b39c6a557673469aea26364060226
rbd: encapsulate new rbd id selection

Move the loop that finds a new unique rbd id to use into
its own helper function.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c