diff options
| author | Soumya Koduri <skoduri@redhat.com> | 2018-11-10 05:55:29 -0500 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2018-11-10 05:55:29 -0500 |
| commit | fe014a6fbdd0d4bc0065db12e04f90ba5cfd5241 (patch) | |
| tree | 667ea40f76c951a71202870d2c145e1fbf24fc61 /api/src | |
| parent | a18310c29d2a78c2f488048b8db98fc6492b2476 (diff) | |
gfapi: Send fop_attr dict as part of syncop_open
Leaseid (stored in thread locals) is sent to server via xdata.
This dict variable is set but not passed as argument in glfs_h_open().
Fixed the same.
Change-Id: Idd2f8a0ec184b4b6b1ad1e6e5d75df551c36a96d
updates: bz#1648768
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'api/src')
| -rw-r--r-- | api/src/glfs-handleops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index 7e9f4c5c91..6a020ca7ab 100644 --- a/api/src/glfs-handleops.c +++ b/api/src/glfs-handleops.c @@ -699,7 +699,7 @@ pub_glfs_h_open(struct glfs *fs, struct glfs_object *object, int flags) if (ret) gf_msg_debug("gfapi", 0, "Getting leaseid from thread failed"); - ret = syncop_open(subvol, &loc, flags, glfd->fd, NULL, NULL); + ret = syncop_open(subvol, &loc, flags, glfd->fd, fop_attr, NULL); DECODE_SYNCOP_ERR(ret); glfd->fd->flags = flags; |
