]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Strip any trailing whitespace from rbd showmapped 65/head
authorJames Page <james.page@ubuntu.com>
Mon, 18 Feb 2013 16:24:54 +0000 (16:24 +0000)
committerJames Page <james.page@ubuntu.com>
Mon, 18 Feb 2013 16:24:54 +0000 (16:24 +0000)
commitad84ea07cac5096de38b51b8fc452c99f016b8d8
treebc8e7145cda1b4936f5859e4403596124974fff6
parent133d0ea2ce0c430e66f3c6f6eba36d2182ad8035
Strip any trailing whitespace from rbd showmapped

More recent versions of ceph append a bit of whitespace to the line
after the name of the /dev/rbdX device; this causes the monitor check
to fail as it can't find the device name due to the whitespace.

This fix excludes any characters after the /dev/rbdN match.
src/ocf/rbd.in