summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-11-19 22:44:33 +0000
committerMiles Bader <miles@gnu.org>1996-11-19 22:44:33 +0000
commit5041992adc5b71d6e0522eb553913f7ff057798b (patch)
tree749ae97c3e6944e68b390d95acda6fb74378a3c3
parentadcf471bba18b584ac1de0b263c824be41a25be8 (diff)
(diskfs_S_fsys_getroot):
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
-rw-r--r--libdiskfs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
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))
{