summaryrefslogtreecommitdiff
path: root/libdiskfs/io-identity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-identity.c')
-rw-r--r--libdiskfs/io-identity.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdiskfs/io-identity.c b/libdiskfs/io-identity.c
index 7ac335ae..39ca3706 100644
--- a/libdiskfs/io-identity.c
+++ b/libdiskfs/io-identity.c
@@ -46,7 +46,9 @@ diskfs_S_io_identity (struct protid *cred,
if (! err)
if (cred->po->shadow_root && cred->po->shadow_root != diskfs_root_node)
{
- err = fshelp_get_identity (diskfs_port_bucket, inum, fsys);
+ err = fshelp_get_identity (diskfs_port_bucket,
+ cred->po->shadow_root->dn_stat.st_ino,
+ fsys);
if (err)
mach_port_deallocate (mach_task_self (), *id);
}