diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-01 06:58:48 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-01 07:22:51 -0700 |
commit | a27e706e3105dc363bcbe3c0e3c91979cc6c89a0 (patch) | |
tree | a691337ff2925c29102daa175ccd17245d73fbb8 /xlators/cluster/unify/src/unify.h | |
parent | e11d66c8d6dea72d02f9bcdbf65c67bd5c60b5cc (diff) |
unify: NFS-friendly logic changes
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 145 (NFSv3 related additions to 2.1 task list)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/cluster/unify/src/unify.h')
-rw-r--r-- | xlators/cluster/unify/src/unify.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xlators/cluster/unify/src/unify.h b/xlators/cluster/unify/src/unify.h index a745a9414fc..86f0fbb4bac 100644 --- a/xlators/cluster/unify/src/unify.h +++ b/xlators/cluster/unify/src/unify.h @@ -124,6 +124,17 @@ struct _unify_local_t { struct unify_self_heal_struct *sh_struct; loc_t loc1, loc2; + + struct stat poststbuf; + /* When not used for rename, old* + * are used as the attrs for the current + * parent directory. + */ + struct stat oldpreparent; + struct stat oldpostparent; + struct stat newpreparent; + struct stat newpostparent; + int32_t wbflags; }; typedef struct _unify_local_t unify_local_t; |