mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
vfs_fileid: fix fsname_norootdir algorithm
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13744 Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Jan 17 01:36:54 CET 2019 on sn-devel-144
This commit is contained in:
parent
9e4b08f4c3
commit
2723d900ef
@ -456,7 +456,8 @@ static struct file_id fileid_file_id_create(struct vfs_handle_struct *handle,
|
||||
struct fileid_handle_data,
|
||||
return id);
|
||||
|
||||
if ((data->nolockinode != 0) && (id.inode == data->nolockinode)) {
|
||||
if ((data->nolockinode != 0) &&
|
||||
(sbuf->st_ex_ino == data->nolockinode)) {
|
||||
devid = fileid_device_mapping_hostname(data, sbuf);
|
||||
} else {
|
||||
devid = data->device_mapping_fn(data, sbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user