summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-07 15:46:22 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-07 15:46:22 +0200
commit3e80085fb09a89957991780f79f5726029b8a26f (patch)
tree3250aa79828715868948e4ccad13a0118ecc4a2e /source4/librpc/idl
parentbbf4ce91462598cee1eebfb94a773194e56a7ff8 (diff)
downloadsamba-3e80085fb09a89957991780f79f5726029b8a26f.tar.gz
samba-3e80085fb09a89957991780f79f5726029b8a26f.tar.bz2
samba-3e80085fb09a89957991780f79f5726029b8a26f.zip
pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
I'll fix this more correctly very soon, so that we'll pass the BASE-DELAYWRITE test. metze (This used to be commit b09dd6b65d533832a025a51509dcc84f84b048aa)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/xattr.idl12
1 files changed, 9 insertions, 3 deletions
diff --git a/source4/librpc/idl/xattr.idl b/source4/librpc/idl/xattr.idl
index 7e73baee7d..2010d51ce1 100644
--- a/source4/librpc/idl/xattr.idl
+++ b/source4/librpc/idl/xattr.idl
@@ -31,8 +31,14 @@ interface xattr
NTTIME change_time;
} xattr_DosInfo1;
- const int XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME = 0x1;
+/*
+ We use xattrDosInfo1 again when we store values.
+ Because the sticky write time is now stored in the opendb
+ and xattr_DosInfo2Old is only present to parse existing
+ values from disk.
+ const int XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME = 0x1;
+*/
typedef struct {
uint32 flags;
uint32 attrib;
@@ -43,11 +49,11 @@ interface xattr
NTTIME change_time;
NTTIME write_time; /* only used when sticky write time is set */
utf8string name;
- } xattr_DosInfo2;
+ } xattr_DosInfo2Old;
typedef [switch_type(uint16)] union {
[case(1)] xattr_DosInfo1 info1;
- [case(2)] xattr_DosInfo2 info2;
+ [case(2)] xattr_DosInfo2Old oldinfo2;
} xattr_DosInfo;
typedef [public] struct {