diff options
author | Anand Avati <avati@redhat.com> | 2014-02-07 14:29:34 -0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-13 11:17:05 -0800 |
commit | 0cab34b3a5e94267bf6b39669b6e85af1fab8f3d (patch) | |
tree | d2bcdfd03248c77d466c5975a20374e54edde7ef /api | |
parent | 13f1d250ccbb7a3c945e35ebf182e7149b69069e (diff) |
core: add @xdata parameter to syncop_[f]removexattr()
To be used in afr metadata self-heal
Change-Id: I8dac4b19d61e331702427eeb5b606aab3d20b328
BUG: 1021686
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6941
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs-fops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index f27287b9d65..4bf33b859b6 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -2832,7 +2832,7 @@ retry: if (ret) goto out; - ret = syncop_removexattr (subvol, &loc, name); + ret = syncop_removexattr (subvol, &loc, name, 0); DECODE_SYNCOP_ERR (ret); ESTALE_RETRY (ret, errno, reval, &loc, retry); @@ -2883,7 +2883,7 @@ glfs_fremovexattr (struct glfs_fd *glfd, const char *name) goto out; } - ret = syncop_fremovexattr (subvol, fd, name); + ret = syncop_fremovexattr (subvol, fd, name, 0); DECODE_SYNCOP_ERR (ret); out: if (fd) |