]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-journal-tool: pass local arg vector for Journal actions
authorVenky Shankar <vshankar@redhat.com>
Mon, 23 Jul 2018 06:30:47 +0000 (02:30 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 3 Dec 2018 07:39:49 +0000 (02:39 -0500)
commit7cf2e1b623dc88aa0aba24bbb1e5ef5cd49ab3fc
treea4009745f104996c6282552a8a09c2ff2d0d2501
parentfd09bc7cdf6b83b87dee85824d33b146d858be6f
cephfs-journal-tool: pass local arg vector for Journal actions

Some helper functions clobber the passed in arg vector. This
causes operations on all but the first rank to fail as the
operations for the first rank tampers with the arg vector.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit d5e482a6c2782993e6e9903eb6f11f5ebe260925)
src/tools/cephfs/JournalTool.cc