From d2b28d588e33c2352fb57fc2d77504a6027e43d8 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 2 Mar 1997 21:07:18 +0000 Subject: (diskfs_S_io_identity): Pass CRED's shadow root inode number to fshelp_get_identity when creating a shadow root fsid, not INUM. --- libdiskfs/io-identity.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3