summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient-internals.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-05 15:58:09 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-05 17:15:38 +0530
commita0cd85c307f3576291829beb825323d43aeca7f8 (patch)
tree7dc1bd7cd2016a5f974fedeaa03826193107022e /libglusterfsclient/src/libglusterfsclient-internals.h
parentd1e74d7faa8670d6a7bf47ab9105af03d7dcf9a6 (diff)
libglusterfsclient: Fix realpath operation
This commit does two things: 1. Ensures we go on to traverse nested symlinks by calling realpath recursively on the symlink. 2. Makes glusterfs_realpath, a VMP-based operation, return a resolved /real path that actually has the VMP pre-fixed to the resolved path. If this is not done, we'll be returning a path that is valid only within the glusterfs context, i.e. the path will point to a real file/dir only if a glusterfs handle identifies which glusterfs context the file is in. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h')
0 files changed, 0 insertions, 0 deletions