smbd/quotas: Remove invalid quota status switch case
authorAnoop C S <anoopcs@redhat.com>
Tue, 20 Oct 2015 05:53:23 +0000 (11:23 +0530)
committerJeremy Allison <jra@samba.org>
Fri, 23 Oct 2015 23:31:21 +0000 (01:31 +0200)
commit11620aefac77ebeb58cce784d20d4415d227f4ee
tree8a03d232bf165e311951911fe0d5164708d19c3f
parent3e6af7109eb9d49328b426095580e4bfb2338ceb
smbd/quotas: Remove invalid quota status switch case

getquota_rslt structure from rquota.h defines the enum
named status whose values start from 1. But in quotas.c
we have an invalid check for status 0. This change is
to remove that particular switch case.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 24 01:31:21 CEST 2015 on sn-devel-104
source3/smbd/quotas.c