From 25217d43f9786b71de4d86cae122403f2cbaf1e5 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 1 Oct 2009 06:59:04 +0000 Subject: distribute: NFS-friendly logic changes Signed-off-by: Anand V. Avati BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145 --- xlators/cluster/dht/src/dht-common.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/dht/src/dht-common.h') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 8573b9f5b21..4b4010a2c05 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -56,9 +56,14 @@ struct dht_local { int op_ret; int op_errno; int layout_mismatch; + /* Use stbuf as the postbuf, when we require both + * pre and post attrs */ struct stat stbuf; - struct stat stpre; - struct stat stpost; + struct stat prebuf; + struct stat preoldparent; + struct stat postoldparent; + struct stat preparent; + struct stat postparent; struct statvfs statvfs; fd_t *fd; inode_t *inode; -- cgit