summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-04-21 05:03:56 +0000
committerAnand Avati <avati@gluster.com>2011-04-21 07:38:27 -0700
commit2c12b90a84c544343e384e1d60d03b10be9fc45b (patch)
tree90be0489d187c268ecb488d2102c77191d5030ea /xlators/features/marker/src/marker.h
parent14f9c126c1237410bd9ef159e746afd7ff8c2753 (diff)
features/marker-quota: handle creation of regular files using mknod.
- Add the disk-used to parents' size. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2649 (Quota: size field is not getting updated properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2649
Diffstat (limited to 'xlators/features/marker/src/marker.h')
-rw-r--r--xlators/features/marker/src/marker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker.h b/xlators/features/marker/src/marker.h
index 70b5e8567d3..ea1f5cc0a99 100644
--- a/xlators/features/marker/src/marker.h
+++ b/xlators/features/marker/src/marker.h
@@ -68,6 +68,7 @@ struct marker_local{
int32_t ref;
int32_t ia_nlink;
gf_lock_t lock;
+ mode_t mode;
struct marker_local *oplocal;
};
typedef struct marker_local marker_local_t;