summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/trans-callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c
index 6ad6f1e7..e3ffcce7 100644
--- a/libdiskfs/trans-callback.c
+++ b/libdiskfs/trans-callback.c
@@ -31,7 +31,7 @@ _diskfs_translator_callback1_fn (void *cookie1, void *cookie2,
error_t err;
struct node *np = cookie1;
- if (!np->istranslated)
+ if (! (np->dn_stat.st_mode & S_IPTRANS))
return ENOENT;
err = diskfs_get_translator (np, argz, (u_int *) argz_len);