vfs_gpfs: Change lease helper function to only provide mapping
authorChristof Schmitt <cs@samba.org>
Thu, 16 Jan 2020 19:17:46 +0000 (12:17 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 21 Jan 2020 22:08:41 +0000 (22:08 +0000)
commit49584782789f345a38f5efa577439c934bc4b7a6
tree4e145f710ec64443b0fa034684d1775b78c8b9ab
parent96252a0ec4c460372f79f8fb31a876ab511c941d
vfs_gpfs: Change lease helper function to only provide mapping

The set_gpfs_lease function first maps the lease argument to the GPFS
version and then issues the API call. Change this to only do the mapping
in the helper function.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_gpfs.c