From: Alex Elder Date: Thu, 2 Feb 2012 14:13:30 +0000 (-0600) Subject: rbd: encapsulate argument parsing for rbd_add() X-Git-Tag: v3.4-rc1~76^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a725f65e52de73defb3c7033c471c48c56ca6cdd;p=pandora-kernel.git rbd: encapsulate argument parsing for rbd_add() Move the code that parses the arguments provided to rbd_add() (which are supplied via /sys/bus/rbd/add) into a separate function. Also rename the "mon_dev_name" variable in rbd_add() to be "mon_addrs". The variable represents a list of one or more comma-separated monitor IP addresses, each with an optional port number. I think "mon_addrs" captures that notion a little better. Signed-off-by: Alex Elder --- Reading git-diff-tree failed