]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librgw: refactor nfsns dirs1 and fix a "bad unlink" case
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 10 Jan 2016 17:09:37 +0000 (12:09 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:07:45 +0000 (12:07 -0500)
commitd8175918d3edcc54b7b3b02bc6563510783350d6
tree4dbe0ab3b049c70f4a6d5fe4b1cd4d33db83c254
parent558c211571abd01999c51a250191d1d7ff1cd7ae
librgw: refactor nfsns dirs1 and fix a "bad unlink" case

Fix the error returns from rgw_unlink.  This is sufficient to
catch the errors that arise from operation failure.

We won't notice attempts to remove interior directories--and for
various reasons, that may be problematic (skip for now).

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