diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-06-25 15:04:18 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-06-28 00:53:13 -0700 |
commit | 049c8eec304d9548fccb127ee8ce82f179bc41b0 (patch) | |
tree | 79b02905a18f25407d885c15a7e2a262879868bc /api/src/glfs-internal.h | |
parent | b68f671b2b8a0aafef8f98145aee7044edaa907d (diff) |
gfapi : symlink resolution for glfs_object
Generally posix expects symlink should be resolved, before performing an
acl related operation. This patch introduces a new api glfs_h_resolve_symlink()
which will do the same.
Change-Id: Ieee645154455a732edfb2c28834021bab4248810
BUG: 1209735
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/11410
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 5eb57d4b8e4..608b534b1ab 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -415,4 +415,8 @@ ssize_t glfs_anonymous_pwritev (struct glfs *fs, struct glfs_object *object, const struct iovec *iovec, int iovcnt, off_t offset, int flags); + +struct glfs_object * +glfs_h_resolve_symlink (struct glfs *fs, struct glfs_object *object); + #endif /* !_GLFS_INTERNAL_H */ |