]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: fix set_attrs operation 11159/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 20 Sep 2016 21:32:03 +0000 (17:32 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 23 Sep 2016 01:48:47 +0000 (21:48 -0400)
commit08afb40b2812270a6af3cd1965e8c03c10392ace
tree6ab35b1beda1659c236e34f1ea2db50e9f335843
parent34b74e143d92f4d1ceb3f90ae465af7281db8239
rgw_file: fix set_attrs operation

The effective part of this change is to always set a value
for RGW_ATTR_UNIX_KEY1 (because it is expected later).

Secondarily, do not pass the address of the to-set attributes
buffer::list as remove attrs--this is confusing.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/rgw/rgw_op.cc