From 1f074563ecdaf92b2ecf12d7ea79b2b5d8f50c2d Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 21 Apr 2011 04:10:17 +0000 Subject: features/marker-quota: Add the disk space used to parent sizes during creation of new-files or symlinks. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 2649 (Quota: size field is not getting updated properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2649 --- xlators/features/marker/src/marker-quota.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/features/marker/src/marker-quota.h') diff --git a/xlators/features/marker/src/marker-quota.h b/xlators/features/marker/src/marker-quota.h index 2eecd83e8e1..0011a28b677 100644 --- a/xlators/features/marker/src/marker-quota.h +++ b/xlators/features/marker/src/marker-quota.h @@ -164,6 +164,9 @@ reduce_parent_size (xlator_t *, loc_t *); int32_t quota_rename_update_newpath (xlator_t *, loc_t *); +int32_t +inspect_file_xattr (xlator_t *this, loc_t *loc, dict_t *dict, struct iatt buf); + int32_t quota_forget (xlator_t *, quota_inode_ctx_t *); #endif -- cgit