rbd: define dup_token()
authorAlex Elder <elder@inktank.com>
Tue, 10 Jul 2012 02:04:23 +0000 (21:04 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:29:58 +0000 (09:29 -0700)
commitea3352f4aa4fc32397d9a535780315e0f2bfee15
tree9ed74bb7b8a0edf06885507086cd22bf24b84feb
parentf8c36c58accd5c53a472b5c289910565b3df9f9d
rbd: define dup_token()

Define a new function dup_token(), to be used during argument
parsing for making dynamically-allocated copies of tokens being
parsed.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c