]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: fix nfsns unit test when !created and !create
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 12 Apr 2016 18:39:40 +0000 (14:39 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 12 Apr 2016 20:13:00 +0000 (16:13 -0400)
commit917a25d047be5384038a0099a80995e17aaec8c6
tree2ff95083c4fb157c7df5e8f6bb3f8c5f06f7d395
parentbd2c6818377ddc467a96a6167443cb85b5321272
rgw_file: fix nfsns unit test when !created and !create

Avoid dereferencing unitialized top-level objects when !found and the
create option not present (when means we cannot create them).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/test/librgw_file_nfsns.cc