]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Fix state of symlink with absolute path
authorSam Lang <sam.lang@inktank.com>
Fri, 2 Nov 2012 01:12:34 +0000 (20:12 -0500)
committerSam Lang <sam.lang@inktank.com>
Fri, 2 Nov 2012 01:17:00 +0000 (20:17 -0500)
commit4cd47c4c5100c36aa67a7ee67c7720979f6002e4
treed30c003fd2f667626775b9cd12b855dfb077c0c8
parentbc4e6b9a13e06b05bdc49eb8f5e5996daf41d911
client: Fix state of symlink with absolute path

Symlinks that have an absolute path are not getting
properly dereferenced in path_walk() due to a bug
with the cur and next inode pointers, and because
the path position wasn't getting reset on the symlink
dereference.

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