From af569aaf6ee69ed77be8afc82b4c496041a7bd1b Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 7 Apr 2015 15:02:30 +0530 Subject: features/bit-rot: Mark versioning fsetxattr as internal fop Changelog xlator was capturing bitrot-stub's fsetxattr sent for versioning. Since it was using the same frame as of the create fop, there was inconsistency in fop number and gfid of capturing metadata. So fix is to mark fsetxattr used for versioning as internal and add internal fop filter in changelog_fsetxattr. Change-Id: I51ff468995139838b22bf293a59a0713a92ee7a5 BUG: 1170075 Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/10148 Tested-by: Gluster Build System Reviewed-by: Venky Shankar Tested-by: Venky Shankar --- xlators/features/changelog/src/changelog.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/changelog') diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c index e6553c7f6bb..df8172765d7 100644 --- a/xlators/features/changelog/src/changelog.c +++ b/xlators/features/changelog/src/changelog.c @@ -1454,6 +1454,7 @@ changelog_fsetxattr (call_frame_t *frame, priv = this->private; CHANGELOG_NOT_ACTIVE_THEN_GOTO (frame, priv, wind); + CHANGELOG_IF_INTERNAL_FOP_THEN_GOTO (frame, xdata, wind); CHANGELOG_OP_BOUNDARY_CHECK (frame, wind); -- cgit