summaryrefslogtreecommitdiffstats
path: root/xlators/features/snapview-server
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2014-11-12 12:02:44 +0000
committerVijay Bellur <vbellur@redhat.com>2014-11-14 06:27:36 -0800
commitc3dc90b53558316904985932490584402aaef48d (patch)
treed3f7a0938e67333704f2a85a38c6e3d4cfa6f0bb /xlators/features/snapview-server
parentf645655c65d1f9787a82a5dcbb0e24e2d32bed87 (diff)
uss/snapd: Handle readlink fops on snap view server
Handle readlink fops in case of symlinks on snap view server BUG: 1162462 Change-Id: Ia08e9e9c1c61e06132732aa580c5a9fd5e7c449b Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/9102 Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/snapview-server')
-rw-r--r--xlators/features/snapview-server/src/snapview-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server.c b/xlators/features/snapview-server/src/snapview-server.c
index 2f15f5e..6c65497 100644
--- a/xlators/features/snapview-server/src/snapview-server.c
+++ b/xlators/features/snapview-server/src/snapview-server.c
@@ -2159,6 +2159,7 @@ struct xlator_fops fops = {
.fstat = svs_fstat,
.getxattr = svs_getxattr,
.access = svs_access,
+ .readlink = svs_readlink,
/* entry fops */
};