summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-23 01:22:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-23 01:22:50 +0000
commit907e2b824847299a6c4a09fc1daa26be7613c9ed (patch)
tree0e32427123abc4b40e0fc3e7891aac1b4879f338 /libdiskfs
parentc4e734728a04cc9c024f2a883f1fb66944dfc4f7 (diff)
entered into RCS
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c2
-rw-r--r--libdiskfs/file-get-trans.c2
-rw-r--r--libdiskfs/file-inv-trans.c2
-rw-r--r--libdiskfs/file-set-trans.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index d96acce6..e4ec36c2 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -263,7 +263,7 @@ diskfs_S_dir_lookup (struct protid *dircred,
mutex_unlock (&np->translator.lock);
mutex_lock (&np->lock);
- if (diskfs_node_translated (np))
+ if (np->istranslated)
{
/* Start the translator. */
if (dirfile == MACH_PORT_NULL)
diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c
index 73fd3a61..892b50d3 100644
--- a/libdiskfs/file-get-trans.c
+++ b/libdiskfs/file-get-trans.c
@@ -110,7 +110,7 @@ diskfs_S_file_get_translator (struct protid *cred,
}
else
{
- if (!diskfs_node_translated (np))
+ if (!np->istranslated)
error = EINVAL;
else
error = diskfs_get_translator (np, trans, translen);
diff --git a/libdiskfs/file-inv-trans.c b/libdiskfs/file-inv-trans.c
index b323adcf..837c0038 100644
--- a/libdiskfs/file-inv-trans.c
+++ b/libdiskfs/file-inv-trans.c
@@ -52,7 +52,7 @@ diskfs_S_file_invoke_translator (struct protid *cred,
repeat_transcheck:
/* Ignore O_NOTRANS in the following check */
- if (diskfs_node_translated (np) || np->translator.control != MACH_PORT_NULL)
+ if (np->istranslated || np->translator.control != MACH_PORT_NULL)
{
mach_port_t control = np->translator.control;
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index f8a1dcde..a237d711 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -54,7 +54,7 @@ diskfs_S_file_set_translator (struct protid *cred,
/* Handle exclusive bits */
if ((passive_flags & FS_TRANS_SET)
&& (passive_flags & FS_TRANS_EXCL)
- && diskfs_node_translated (np))
+ && np->istranslated)
{
mutex_unlock (&np->lock);
return EBUSY;