From: Alex Elder Date: Fri, 31 May 2013 22:40:44 +0000 (-0500) Subject: rbd: protect against concurrent unmaps X-Git-Tag: v3.11-rc1~69^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a442d239695a242c4d584464c9606322cd02aa;p=pandora-kernel.git rbd: protect against concurrent unmaps Make sure two concurrent unmap operations on the same rbd device won't collide, by only proceeding with the removal and cleanup of a device if is not already underway. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed