ClusterLabs/resource-agents — pull request #153 by ryan-mccabe (2012-10-13 03:36:50+00:00)
Title: Fix for cifs mounts

Entries for CIFS mounts can sometimes contain trailing slashes
in the device field in /proc/mounts.

For example:
$ mount
//192.168.122.1/test on /mnt type cifs (rw)
$ grep test /proc/mounts
//192.168.122.1/test/ /mnt cifs ...

This patch strips trailing slashes from device names when
reading the contents of /proc/mounts.

Resolves: rhbz#848642
Signed-off-by: Ryan McCabe