From ff7eb311877f52a8fc543084317a537d42f496ee Mon Sep 17 00:00:00 2001 From: Poornima G Date: Wed, 24 Aug 2016 09:55:32 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/15301 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Raghavendra G Reviewed-by: Prashanth Pai Reviewed-by: Jeff Darcy --- libglusterfs/src/upcall-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') 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, -- cgit