summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-08-24 09:55:32 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-08-29 05:15:15 -0700
commitff7eb311877f52a8fc543084317a537d42f496ee (patch)
tree5a2d5e1b2b98dc2707c35596a6bb374bf0b1b799
parent7f0042dce94edb58c92662d9e4f852ba006d12dc (diff)
upcall: Add permission change flag to iatt flag
Currently IATT_UPDATE_FLAGS is (UP_NLINK | UP_MODE | UP_OWN | UP_SIZE | UP_TIMES | UP_ATIME). But it should also have UP_PERM and permission bits are apart of IATT. This change will have no effect on the existing users as IATT_UPDATE_FLAGS is currently used only by md-cache. And the changes in md-cache to consume cache invalidation is not part of any release yet. Change-Id: I7efad44972add152f5f981d733fb8191dc7ef8ef BUG: 1369432 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/15301 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-by: Prashanth Pai <ppai@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-rw-r--r--libglusterfs/src/upcall-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/upcall-utils.h b/libglusterfs/src/upcall-utils.h
index f4b15e3507c..64571c5bdf8 100644
--- a/libglusterfs/src/upcall-utils.h
+++ b/libglusterfs/src/upcall-utils.h
@@ -53,7 +53,7 @@
#define UP_NLINK_FLAGS (UP_NLINK | UP_TIMES)
#define IATT_UPDATE_FLAGS (UP_NLINK | UP_MODE | UP_OWN | UP_SIZE | \
- UP_TIMES | UP_ATIME)
+ UP_TIMES | UP_ATIME | UP_PERM)
typedef enum {
GF_UPCALL_EVENT_NULL,