diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-12-03 03:43:12 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-03 02:21:24 -0800 |
commit | 2615d1a9558868b0b247375fc7560ea399390516 (patch) | |
tree | afa0e3c214229c4d433f7b396c372c268aefacec /configure.ac | |
parent | 0f73d6c94ce00eae317463fe32de40bb4225c820 (diff) |
libglusterfsclient: Separate order of path compaction and VMP search for abs and rel paths
The previous set of changes for relative paths in libglusterfsclient
break the absolute path operation. The fix involves differentiating
between absolute and relative paths in terms of the order
in which the 2 operations are performed:
- path compaction
- VMP search
For absolute paths, since we assume that VMP is already perfixed to the
path, we need the following order of operation:
1. VMP search
2. path compaction on the path components beyond the VMP.
For relative paths, the operations are reversed because there
we do not have a VMP pre-fixed in order to perform a VMP search.
This means that a path compaction combined with prepending of the
CWD is needed to get an absolute path before the VMP is searched for.
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 369 (Samba does not work with booster.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions