summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-snapshot.c
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2014-10-21 08:42:40 +0000
committerKrishnan Parthasarathi <kparthas@redhat.com>2014-11-12 03:30:29 -0800
commit55aa4b185561edd7b3d1ab77a4f29a4facfdd7ff (patch)
tree057adbecb8c92fe3099004a5bd5daf2646eb0e30 /cli/src/cli-cmd-snapshot.c
parente607ca013f106bffe7f141d92a70e60c659c47d5 (diff)
glusterd/snapshot: Check if LVM device path exists before delete.
Check if the LV is present before deleting the LV. In case where the LV is absent (already deleted?), need not fail the snap delete operation. Also check if the LV is mounted before trying umount. In case it isn't umounted, only remove the LV. Change-Id: I0f5b2674797299d8748c6fac5b091f0caba65ca4 BUG: 1104714 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/8954 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
0 files changed, 0 insertions, 0 deletions