summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-11-19 22:43:23 +0000
committerMiles Bader <miles@gnu.org>1996-11-19 22:43:23 +0000
commit405444928b0b788bd1b757daf344fad65da204b5 (patch)
tree8f911eb777c4084d3a75149619b7122b08b0fa41
parent33aa253159566380e2d2312ca1ac0030f236cd13 (diff)
(_diskfs_translator_callback1_fn):
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
-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);