diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-20 13:55:27 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-20 13:55:27 +0100 |
commit | 4222fa62e927500f21f386ac57dd599234f7d8b1 (patch) | |
tree | 75f9739ce0366cb4e7674a3bb0b1d32047c96580 /source3/modules/vfs_xattr_tdb.c | |
parent | a39771d3d20280b289478da758089a1035415d65 (diff) | |
download | samba-4222fa62e927500f21f386ac57dd599234f7d8b1.tar.gz samba-4222fa62e927500f21f386ac57dd599234f7d8b1.tar.bz2 samba-4222fa62e927500f21f386ac57dd599234f7d8b1.zip |
Add some DEBUG
(This used to be commit 8db25aba63b1dffb0dfbc74012c7ebd0ce4d5682)
Diffstat (limited to 'source3/modules/vfs_xattr_tdb.c')
-rw-r--r-- | source3/modules/vfs_xattr_tdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index 7416fa785a..208066bedc 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -165,6 +165,9 @@ static ssize_t xattr_tdb_getattr(struct db_context *db_ctx, ssize_t result = -1; NTSTATUS status; + DEBUG(10, ("xattr_tdb_getattr called for file %s, name %s\n", + file_id_string_tos(id), name)); + status = xattr_tdb_load_attrs(talloc_tos(), db_ctx, id, &attribs); if (!NT_STATUS_IS_OK(status)) { @@ -250,6 +253,9 @@ static int xattr_tdb_setattr(struct db_context *db_ctx, struct tdb_xattrs *attribs; uint32_t i; + DEBUG(10, ("xattr_tdb_setattr called for file %s, name %s\n", + file_id_string_tos(id), name)); + rec = xattr_tdb_lock_attrs(talloc_tos(), db_ctx, id); if (rec == NULL) { |