From 405444928b0b788bd1b757daf344fad65da204b5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 19 Nov 1996 22:43:23 +0000 Subject: (_diskfs_translator_callback1_fn): Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field. --- libdiskfs/trans-callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3