From 5041992adc5b71d6e0522eb553913f7ff057798b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 19 Nov 1996 22:44:33 +0000 Subject: (diskfs_S_fsys_getroot): Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field. --- libdiskfs/fsys-getroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c index 024103dd..fec9d38f 100644 --- a/libdiskfs/fsys-getroot.c +++ b/libdiskfs/fsys-getroot.c @@ -67,7 +67,7 @@ diskfs_S_fsys_getroot (fsys_t controlport, type = diskfs_root_node->dn_stat.st_mode & S_IFMT; - if ((diskfs_root_node->istranslated + if (((diskfs_root_node->dn_stat.st_mode & S_IPTRANS) || fshelp_translated (&diskfs_root_node->transbox)) && !(flags & O_NOTRANS)) { -- cgit v1.2.3