From b5fe35e215626b98b19876bc0f53b9184aef664b Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Mon, 26 Oct 2009 11:57:28 +0000 Subject: cluster/afr: Remove struct's for [f]chown, [f]chmod, utimens from afr_local_t. Signed-off-by: Anand V. Avati BUG: 146 (Add setattr FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=146 --- xlators/cluster/afr/src/afr.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 0177cd3c7db..3f9cc96e0e4 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -293,36 +293,6 @@ typedef struct _afr_local { /* inode write */ - struct { - ino_t ino; - mode_t mode; - struct stat buf; - struct stat read_child_buf; - } chmod; - - struct { - ino_t ino; - mode_t mode; - struct stat buf; - struct stat read_child_buf; - } fchmod; - - struct { - ino_t ino; - uid_t uid; - gid_t gid; - struct stat buf; - struct stat read_child_buf; - } chown; - - struct { - ino_t ino; - uid_t uid; - gid_t gid; - struct stat buf; - struct stat read_child_buf; - } fchown; - struct { ino_t ino; struct stat prebuf; @@ -356,13 +326,6 @@ typedef struct _afr_local { struct stat postbuf; } ftruncate; - struct { - ino_t ino; - struct timespec tv[2]; - struct stat buf; - struct stat read_child_buf; - } utimens; - struct { ino_t ino; struct stat in_buf; -- cgit