Reviewed by Jeremy Allison <jra@samba.org>
Unix SMB/CIFS implementation.
file_id structure handling
Copyright (C) Andrew Tridgell 2007
Unix SMB/CIFS implementation.
file_id structure handling
Copyright (C) Andrew Tridgell 2007
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const char *file_id_string_tos(const struct file_id *id)
{
char *result = talloc_asprintf(talloc_tos(), "%llx:%llx:%llx",
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->devid,
(unsigned long long)id->inode,
(unsigned long long)id->extid);
SMB_ASSERT(result != NULL);
(unsigned long long)id->inode,
(unsigned long long)id->extid);
SMB_ASSERT(result != NULL);