diff options
author | karthik-us <ksubrahm@redhat.com> | 2017-04-04 18:57:32 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-04-05 04:11:51 -0400 |
commit | c5a4a77848024d2adf8cd4f35d550ba90c174fc7 (patch) | |
tree | 30ca6e69fc7f363b396a9c2137716e08483a8e5a /libglusterfs/src/client_t.c | |
parent | 61f76f318faed395660f5bbcfe39616b39c158f0 (diff) |
features/worm: Adding implementation for ftruncate
Problem:
Since the ftruncate fop was not handled in the worm feature, when
truncate and write was happening on a worm-retained/worm file, it was
giving the EROFS error but truncating the file, which is not correct.
Change-Id: I1a7e904655210d78bce9e01652ac56f3783b5aed
BUG: 1438810
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Reviewed-on: https://review.gluster.org/16995
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'libglusterfs/src/client_t.c')
0 files changed, 0 insertions, 0 deletions