summaryrefslogtreecommitdiffstats
path: root/glusterfs-api.pc.in
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-02-17 15:50:05 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-02-29 23:55:47 -0800
commitb1cb581424305592fac5394a578b307117b22fe7 (patch)
tree3a6ffff5854dcc418b1e0a6fbd631428ac06fd93 /glusterfs-api.pc.in
parent2102010edab355ac9882eea41a46edaca8b9d02c (diff)
features/trash: Retain file permissions during truncate
Consider the situation where directory path for a truncated file does not exists under trash directory. In this scenario after creating the required path we failed to create the orginal file with proper permissions. Eventhough we try to fetch permissions from local->origpath, it was never filled with required value in truncate and ftruncate call paths. This change will copy original location to local->origpath inside both fop handling functions. Change-Id: If5930b6d368d08e58f04db999f3f9edb9250bcb9 BUG: 1309342 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-on: http://review.gluster.org/13461 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'glusterfs-api.pc.in')
0 files changed, 0 insertions, 0 deletions