]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: split last argv on ws, if provided 14230/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 17 Jan 2017 16:23:45 +0000 (11:23 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 29 Mar 2017 16:54:49 +0000 (12:54 -0400)
commit6c2a40a800277ded302f3183ac6c68b01ca3ed41
tree08300dd95784e35292e923e070f53d77daec88c3
parent6a175f27961bd4f0fda8f94c200458f17865c9f9
rgw_file:  split last argv on ws, if provided

This is intended to allow an "extra" unparsed argument string
containing various cmdline options to be passed as the last argument
in the argv array of librgw_create(), which nfs-ganesha is
expecting to happen.

While at it, hook env_args() too.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit fbc19e4effc736c98cc1cc283e5c7b131a0fa766)
src/rgw/librgw.cc