From 8f9e94c65516662ff49926203a73b3a0166c087e Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 28 Aug 2012 23:23:52 -0700 Subject: gfapi: add symlink (auto resolution) support in resolver - new internal API glfs_lresolve() for usage with APIs like glfs_lXXXX() (e.g. glfs_lstat()) Change-Id: I61c60af6bda3072f189684ad8ac9815d59f455fc BUG: 839950 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/3866 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- api/src/glfs-fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/src/glfs-fops.c') diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index 6ae0426a..a6e2f174 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -108,7 +108,7 @@ glfs_lstat (struct glfs *fs, const char *path, struct stat *stat) goto out; } - ret = glfs_resolve (fs, subvol, path, &loc, &iatt); + ret = glfs_lresolve (fs, subvol, path, &loc, &iatt); if (ret == 0 && stat) iatt_to_stat (&iatt, stat); -- cgit