]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Implement stat and correct lstat
authorSam Lang <sam.lang@inktank.com>
Wed, 10 Oct 2012 15:16:53 +0000 (10:16 -0500)
committerSam Lang <sam.lang@inktank.com>
Wed, 17 Oct 2012 17:50:48 +0000 (12:50 -0500)
commit9b0c88bf130fec8e90561a4ee4a538a1f8eb4b8c
treec3686f0c7be9212c502ab0bb8fec52f45e95e246
parent14ef165534edb73f9846f90be2e725bb8a98f8f5
client: Implement stat and correct lstat

lstat is meant to not follow symbolic links in
the given path, whereas stat does.  This adds a
stat function to Client and libcephfs and changes
the behavior of lstat to not follow symlinks.

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