diff options
Diffstat (limited to 'api/src/glfs-fops.c')
-rw-r--r-- | api/src/glfs-fops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index 3191ed7009c..8df237fd37b 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -137,6 +137,7 @@ out: glfs_fd_destroy (glfd); glfd = NULL; } else if (glfd) { + glfd->fd->flags = flags; fd_bind (glfd->fd); glfs_fd_bind (glfd); } @@ -414,6 +415,7 @@ out: glfs_fd_destroy (glfd); glfd = NULL; } else if (glfd) { + glfd->fd->flags = flags; fd_bind (glfd->fd); glfs_fd_bind (glfd); } |