s3:vfs_gpfs: Check softquota before gracetime
commit35ab9bea0f15d66a6b0e827804e1fc66192d0068
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Mon, 18 Jun 2012 23:13:06 +0000 (18 16:13 -0700)
committerChristian Ambach <ambi@samba.org>
Wed, 11 Jul 2012 17:38:47 +0000 (11 19:38 +0200)
tree36c0497d3de76367f1cab36c02d42d27970beda1
parent149cae84285b0e7076deaf993d381317fb2eadf5
s3:vfs_gpfs: Check softquota before gracetime

gpfs_quotactl can return a non-zero softquota gracetime even when no
softquota has been set. This could lead to "disk full" being reported to
a client. The easiest fix is to check for a valid softquota before
checking the softquota gracetime.
source3/modules/vfs_gpfs.c