diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs-fops.c | 8 | ||||
-rw-r--r-- | api/src/glfs-handleops.c | 2 | ||||
-rw-r--r-- | api/src/glfs-resolve.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index b93a077fcdf..a0315e305b1 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -2621,7 +2621,7 @@ retry: if (ret) goto out; - ret = syncop_getxattr (subvol, &loc, &xattr, name); + ret = syncop_getxattr (subvol, &loc, &xattr, name, NULL); DECODE_SYNCOP_ERR (ret); ESTALE_RETRY (ret, errno, reval, &loc, retry); @@ -2684,7 +2684,7 @@ pub_glfs_fgetxattr (struct glfs_fd *glfd, const char *name, void *value, goto out; } - ret = syncop_fgetxattr (subvol, fd, &xattr, name); + ret = syncop_fgetxattr (subvol, fd, &xattr, name, NULL); DECODE_SYNCOP_ERR (ret); if (ret) goto out; @@ -2761,7 +2761,7 @@ retry: if (ret) goto out; - ret = syncop_getxattr (subvol, &loc, &xattr, NULL); + ret = syncop_getxattr (subvol, &loc, &xattr, NULL, NULL); DECODE_SYNCOP_ERR (ret); ESTALE_RETRY (ret, errno, reval, &loc, retry); @@ -2821,7 +2821,7 @@ pub_glfs_flistxattr (struct glfs_fd *glfd, void *value, size_t size) goto out; } - ret = syncop_fgetxattr (subvol, fd, &xattr, NULL); + ret = syncop_fgetxattr (subvol, fd, &xattr, NULL, NULL); DECODE_SYNCOP_ERR (ret); if (ret) goto out; diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index a82cab52dec..706c00f98eb 100644 --- a/api/src/glfs-handleops.c +++ b/api/src/glfs-handleops.c @@ -266,7 +266,7 @@ pub_glfs_h_getxattrs (struct glfs *fs, struct glfs_object *object, /* populate loc */ GLFS_LOC_FILL_INODE (inode, loc, out); - ret = syncop_getxattr (subvol, &loc, &xattr, name); + ret = syncop_getxattr (subvol, &loc, &xattr, name, NULL); DECODE_SYNCOP_ERR (ret); if (ret) diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c index 7aa5cc6158e..3b76487cd25 100644 --- a/api/src/glfs-resolve.c +++ b/api/src/glfs-resolve.c @@ -557,7 +557,7 @@ glfs_migrate_fd_locks_safe (struct glfs *fs, xlator_t *oldsubvol, fd_t *oldfd, newfd->lk_ctx = fd_lk_ctx_ref (oldfd->lk_ctx); ret = syncop_fgetxattr (oldsubvol, oldfd, &lockinfo, - GF_XATTR_LOCKINFO_KEY); + GF_XATTR_LOCKINFO_KEY, NULL); DECODE_SYNCOP_ERR (ret); if (ret < 0) { gf_log (fs->volname, GF_LOG_WARNING, |