]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: drop mostly-useless relink()
authorSage Weil <sage@newdream.net>
Tue, 30 Aug 2011 20:10:42 +0000 (13:10 -0700)
committerSage Weil <sage@newdream.net>
Tue, 30 Aug 2011 20:14:48 +0000 (13:14 -0700)
commited7ebf35b124a236b88a478c33db82f015a8d4a4
tree20b59ba7c8e3c1f77dddb800d20a05c605cb47cb
parentcc1cb8da7e4b4e5e0dec64638976c8dd442807fc
client: drop mostly-useless relink()

Just use unlink() and then link().  Carry an inode ref to avoid badness.
The relink() is left over from a simpler time when we didn't do proper
refcounting.

Signed-off-by: Sage Weil <sage@newdream.net>
src/client/Client.cc
src/client/Client.h