From c4ab37c02e9edc23d0637e23d6f2b42d0827dad2 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Thu, 1 Jan 2015 15:16:41 +0000 Subject: libglusterfs: change signature of syncop_(f)getxattr Pass xdata dict to syncop_(f)getxattr calls. This patch [1/3] is required as a part of afr automated split-brain resolution implementation. Change-Id: I3970b3dd6daf64681a031e37f8e9afb14fb3d668 BUG: 1136769 Signed-off-by: Ravishankar N Reviewed-on: http://review.gluster.org/9375 Reviewed-by: Pranith Kumar Karampuri Reviewed-by: Niels de Vos Tested-by: Gluster Build System Reviewed-by: Shyamsundar Ranganathan Reviewed-by: Vijay Bellur --- xlators/features/locks/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/locks') diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index 603bc585b4d..610297abec7 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -550,7 +550,7 @@ fetch_pathinfo (xlator_t *this, inode_t *inode, int32_t *op_errno, loc.inode = inode_ref (inode); ret = syncop_getxattr (FIRST_CHILD(this), &loc, &dict, - GF_XATTR_PATHINFO_KEY); + GF_XATTR_PATHINFO_KEY, NULL); if (ret < 0) { *op_errno = -ret; ret = -1; -- cgit