summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2013-08-09 12:59:16 +0530
committerKrutika Dhananjay <kdhananj@redhat.com>2013-08-09 15:20:16 +0530
commitbd8e5775cf79e66dc5909f4a6a8df598f8691496 (patch)
tree3ae7629cb447a09fb2e44cd4de6cb9e13f90e0b6 /libglusterfs/src/glusterfs.h
parent325c3b192ef1d8f55201efa0d0cb9969b4f1e6c2 (diff)
glusterd: Clean up and fix glusterd_op_quota()
... and also fix cli logging In glusterd_op_quota(), * do not modify ret after going to 'out' as this causes the failure status (-1) to be overwritten, thereby causing the command to return 0 even on failure. * knock off additional labels like create_vol. * replace 'if' statements with 'switch case' statement. * delete only the 3 timeouts and the defaul-soft-limit, if present, from volinfo->dict, upon disablement of quota. Change-Id: If486a5373b66f2379d6d041a974d9b824fcb8518 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
0 files changed, 0 insertions, 0 deletions