diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-05 15:58:09 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-05 17:15:38 +0530 |
commit | a0cd85c307f3576291829beb825323d43aeca7f8 (patch) | |
tree | 7dc1bd7cd2016a5f974fedeaa03826193107022e /libglusterfsclient/src/libglusterfsclient.h | |
parent | d1e74d7faa8670d6a7bf47ab9105af03d7dcf9a6 (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.h')
0 files changed, 0 insertions, 0 deletions