vfs_gpfs: Remove call to linux_set_lease_capability
authorChristof Schmitt <cs@samba.org>
Thu, 16 Jan 2020 19:12:53 +0000 (12:12 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 21 Jan 2020 22:08:40 +0000 (22:08 +0000)
commit22cd011bc41f648cd3570a511ea3c45eac67e52c
tree0d753267353f1acb8886ee22295112cf07fd67fb
parent648f94d2031c6e758bdf54089d1e710c265ca732
vfs_gpfs: Remove call to linux_set_lease_capability

The API call is already done as root user (become_root), so that the
lease contains the root user. The lease capability is already implied by
the root user, so the explicit call to linux_set_lease_capability is not
required.

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