vfs_gpfs: make sure get_quota does not return bogus values
authorUri Simchoni <uri@samba.org>
Sun, 10 Jan 2016 18:28:57 +0000 (20:28 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 14:58:12 +0000 (15:58 +0100)
commit6689499488b15ce996c91bc72048e92e765c5eee
treea06848dc37591556d87ce8bc7944314f5177ae77
parentde3c2ed0b1a6c786396435d8ea64359c9e17b1ba
vfs_gpfs: make sure get_quota does not return bogus values

add implementation of get_quota_fn to vfs_gpfs. The implemetation
returns ENOSYS for the case of user and group quota, to make sure
the default VFS does not accidentally succeed (and return wrong
values which would alter the disk-free calculation)

For other quota types the function calls the underlying VFS as
before.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_gpfs.c