]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Remove unecessary set_inode() in _rmdir()
authorSam Lang <sam.lang@inktank.com>
Mon, 18 Mar 2013 19:40:48 +0000 (14:40 -0500)
committerSage Weil <sage@inktank.com>
Mon, 18 Mar 2013 19:51:28 +0000 (12:51 -0700)
commita13ae372c0729a25c35a7a17bc98ac732f511aaf
treedc0f60bb818d32749d797352e1debddd74d2dd06
parentba5c935e78f70674e7661576b1c18e211a2f32a2
client:  Remove unecessary set_inode() in _rmdir()

With the recent changes in fc80c1dc6ee315ae5e039986602ffadba46cb43b,
we only allow setting the inode once on a MetaRequest.  This triggered
a bug in _rmdir(), where the parent dir inode passed in and being set
on the MetaRequest, and then also setting the dir inode on the MetaRequest.
Removing the set_inode() using the parent dir inode resolves this issue.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/client/Client.cc