summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_gpfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_gpfs.c')
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 6d66b29187..204017d6fc 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -108,12 +108,6 @@ static int vfs_gpfs_setlease(vfs_handle_struct *handle, files_struct *fsp,
ret = set_gpfs_lease(fsp->fh->fd,leasetype);
}
- if (ret < 0) {
- /* This must have come from GPFS not being available */
- /* or some other error, hence call the default */
- ret = linux_setlease(fsp->fh->fd, leasetype);
- }
-
END_PROFILE(syscall_linux_setlease);
return ret;