summaryrefslogtreecommitdiffstats
path: root/xlators/features/read-only/src/read-only.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/read-only/src/read-only.c')
-rw-r--r--xlators/features/read-only/src/read-only.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/features/read-only/src/read-only.c b/xlators/features/read-only/src/read-only.c
index 9ebbdaaba..49c2ce58d 100644
--- a/xlators/features/read-only/src/read-only.c
+++ b/xlators/features/read-only/src/read-only.c
@@ -144,9 +144,10 @@ ro_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc)
return 0;
}
-int32_t
+
+int
ro_symlink (call_frame_t *frame, xlator_t *this, const char *linkpath,
- loc_t *loc)
+ loc_t *loc, dict_t *params)
{
STACK_UNWIND_STRICT (symlink, frame, -1, EROFS, NULL, NULL, NULL, NULL);
return 0;