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:
5ca021b
)
vfs: Use file_id_str_buf() in xattr_tdb_setattr()
author
Volker Lendecke
<vl@samba.org>
Tue, 3 Sep 2019 14:15:40 +0000
(16:15 +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 d5d2d8d3ac8d30dbd3fbb2a3726633160fb77b4b..564cdd80965c29adca18079f1872586d3584ae0c 100644
(file)
--- a/
source3/lib/xattr_tdb.c
+++ b/
source3/lib/xattr_tdb.c
@@
-230,9
+230,10
@@
int xattr_tdb_setattr(struct db_context *db_ctx,
uint32_t i;
TDB_DATA data;
TALLOC_CTX *frame = talloc_stackframe();
+ struct file_id_buf buf;
- D
EBUG(10,
("xattr_tdb_setattr called for file %s, name %s\n",
-
file_id_string(frame, id), name)
);
+ D
BG_DEBUG
("xattr_tdb_setattr called for file %s, name %s\n",
+
file_id_str_buf(*id, &buf), name
);
rec = xattr_tdb_lock_attrs(frame, db_ctx, id);