git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally useful
[kai/samba.git]
/
source4
/
ntvfs
/
posix
/
pvfs_xattr.c
diff --git
a/source4/ntvfs/posix/pvfs_xattr.c
b/source4/ntvfs/posix/pvfs_xattr.c
index 04ad1786ac28112359b034736924b991ad899e66..82ce579676a6f6a7c969ccb8e672029bd0841f8f 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_xattr.c
+++ b/
source4/ntvfs/posix/pvfs_xattr.c
@@
-24,6
+24,7
@@
#include "../lib/util/unix_privs.h"
#include "librpc/gen_ndr/ndr_xattr.h"
#include "param/param.h"
#include "../lib/util/unix_privs.h"
#include "librpc/gen_ndr/ndr_xattr.h"
#include "param/param.h"
+#include "ntvfs/posix/posix_eadb_proto.h"
/*
pull a xattr as a blob
/*
pull a xattr as a blob
@@
-81,7
+82,7
@@
static NTSTATUS delete_xattr(struct pvfs_state *pvfs, const char *attr_name,
const char *fname, int fd)
{
if (pvfs->ea_db) {
const char *fname, int fd)
{
if (pvfs->ea_db) {
- return delete_
xattr_t
db(pvfs, attr_name, fname, fd);
+ return delete_
posix_ea
db(pvfs, attr_name, fname, fd);
}
return delete_xattr_system(pvfs, attr_name, fname, fd);
}
}
return delete_xattr_system(pvfs, attr_name, fname, fd);
}
@@
-92,7
+93,7
@@
static NTSTATUS delete_xattr(struct pvfs_state *pvfs, const char *attr_name,
NTSTATUS pvfs_xattr_unlink_hook(struct pvfs_state *pvfs, const char *fname)
{
if (pvfs->ea_db) {
NTSTATUS pvfs_xattr_unlink_hook(struct pvfs_state *pvfs, const char *fname)
{
if (pvfs->ea_db) {
- return unlink_
xattr_t
db(pvfs, fname);
+ return unlink_
posix_ea
db(pvfs, fname);
}
return unlink_xattr_system(pvfs, fname);
}
}
return unlink_xattr_system(pvfs, fname);
}