diff options
Diffstat (limited to 'xlators/features/changelog/src/policy/changelog-policy-replication.c')
-rw-r--r-- | xlators/features/changelog/src/policy/changelog-policy-replication.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/policy/changelog-policy-replication.c b/xlators/features/changelog/src/policy/changelog-policy-replication.c index 1f6a6140e..19492e2c6 100644 --- a/xlators/features/changelog/src/policy/changelog-policy-replication.c +++ b/xlators/features/changelog/src/policy/changelog-policy-replication.c @@ -500,8 +500,16 @@ changelog_replication_create (call_frame_t *frame, xlator_t *this, CHANGELOG_FILL_ENTRY (co, loc->pargfid, loc->name, entry_fn, entry_free_fn, xtra_len, out); + co++; - changelog_set_usable_record_and_length (local, xtra_len, 4); + /* + * This isn't really kosher (we should have a similar but separate + * mode_fn) but it should do for now. + */ + CHANGELOG_FILL_FOP_NUMBER (co, mode, fop_fn, xtra_len); + co++; + + changelog_set_usable_record_and_length (local, xtra_len, 5); frame->local = local; ret = 0; |