vfs_fileid: add a DEBUG message to log dev and inode
authorRalph Boehme <slow@samba.org>
Thu, 4 Jan 2018 16:25:07 +0000 (17:25 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 5 Jan 2018 23:07:17 +0000 (00:07 +0100)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fileid.c

index a7c4a49d553f4d36247d359e409bd88bf817c1d6..9a8f3f99193d0b26cd0f1138cd9bc4191e258035 100644 (file)
@@ -249,6 +249,9 @@ static struct file_id fileid_file_id_create(struct vfs_handle_struct *handle,
        id.devid        = data->device_mapping_fn(data, sbuf->st_ex_dev);
        id.inode        = sbuf->st_ex_ino;
 
+       DBG_DEBUG("Returning dev [%jx] inode [%jx]\n",
+                 (uintmax_t)id.devid, (uintmax_t)id.inode);
+
        return id;
 }