mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3: Use file_id_string in file_id_string_tos
Reviewed by Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104
This commit is contained in:
committed by
Jeremy Allison
parent
e44b231f58
commit
4dfded000c
@ -36,12 +36,7 @@ bool file_id_equal(const struct file_id *id1, const struct file_id *id2)
|
||||
*/
|
||||
const char *file_id_string_tos(const struct file_id *id)
|
||||
{
|
||||
char *result = talloc_asprintf(talloc_tos(), "%llx:%llx:%llx",
|
||||
(unsigned long long)id->devid,
|
||||
(unsigned long long)id->inode,
|
||||
(unsigned long long)id->extid);
|
||||
SMB_ASSERT(result != NULL);
|
||||
return result;
|
||||
return file_id_string(talloc_tos(), id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user