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-internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/src/glfs-internal.h') diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 6380cd2ae..8c9e356f9 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -53,6 +53,8 @@ void glfs_init_done (struct glfs *fs, int ret); int glfs_process_volfp (struct glfs *fs, FILE *fp); int glfs_resolve (struct glfs *fs, xlator_t *subvol, const char *path, loc_t *loc, struct iatt *iatt); +int glfs_lresolve (struct glfs *fs, xlator_t *subvol, const char *path, loc_t *loc, + struct iatt *iatt); void glfs_first_lookup (xlator_t *subvol); static inline void -- cgit