git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09c216
)
vfs: Use file_id_str_buf() in xattr_tdb_getattr()
author
Volker Lendecke
<vl@samba.org>
Tue, 3 Sep 2019 14:14:28 +0000
(16:14 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 10 Sep 2019 23:14:31 +0000
(23:14 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/xattr_tdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/xattr_tdb.c
b/source3/lib/xattr_tdb.c
index f3a2e19bf5d47fc51e9939f5eea7dc8e70e2475e..d5d2d8d3ac8d30dbd3fbb2a3726633160fb77b4b 100644
(file)
--- a/
source3/lib/xattr_tdb.c
+++ b/
source3/lib/xattr_tdb.c
@@
-181,9
+181,10
@@
ssize_t xattr_tdb_getattr(struct db_context *db_ctx,
ssize_t result = -1;
NTSTATUS status;
TALLOC_CTX *frame = talloc_stackframe();
+ struct file_id_buf buf;
- D
EBUG(10,
("xattr_tdb_getattr called for file %s, name %s\n",
-
file_id_string(frame, id), name)
);
+ D
BG_DEBUG
("xattr_tdb_getattr called for file %s, name %s\n",
+
file_id_str_buf(*id, &buf), name
);
status = xattr_tdb_load_attrs(frame, db_ctx, id, &attribs);