diff options
author | Ajeet Jha <ajha@redhat.com> | 2013-12-02 13:04:51 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-12-12 00:15:45 -0800 |
commit | 8f2fc6fb3a63ca87d82b6fa933f94fb1e3283a26 (patch) | |
tree | c0efe5adc7fa78b5b11e4929999d8f9e459d39e1 /xlators/features/changelog/lib/examples | |
parent | 493008a299cd1197df0caee72eacd12c1a54606b (diff) |
features/changelog: more changelog fixes.
-> log additional records.
-> include FOP number for metadata.
-> prevent crash if inode is not found in a fop.
Change-Id: I9edd4b71819ebd68c6a2b4150ae279c471d129da
BUG: 1036536
Signed-off-by: Ajeet Jha <ajha@redhat.com>
Reviewed-on: http://review.gluster.org/6403
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/changelog/lib/examples')
-rw-r--r-- | xlators/features/changelog/lib/examples/c/get-changes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/lib/examples/c/get-changes.c b/xlators/features/changelog/lib/examples/c/get-changes.c index 14562585aa9..6d0d0357db9 100644 --- a/xlators/features/changelog/lib/examples/c/get-changes.c +++ b/xlators/features/changelog/lib/examples/c/get-changes.c @@ -40,7 +40,7 @@ main (int argc, char ** argv) char fbuf[PATH_MAX] = {0,}; /* get changes for brick "/home/vshankar/export/yow/yow-1" */ - ret = gf_changelog_register ("/home/vshankar/export/yow/yow-1", + ret = gf_changelog_register ("/home/vshankar/exports/yow/yow-1", "/tmp/scratch", "/tmp/change.log", 9, 5); if (ret) { handle_error ("register failed"); |