From cb2a1610dec9da2cbad1c04eee3f2170cc9a13cc Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 19 Nov 1996 22:46:42 +0000 Subject: (diskfs_S_file_set_translator): Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field. --- libdiskfs/file-set-trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/file-set-trans.c') diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index 07f365a5..8c1ccdfd 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -87,7 +87,7 @@ diskfs_S_file_set_translator (struct protid *cred, /* Handle exclusive passive bit *first*. */ if ((passive_flags & FS_TRANS_SET) && (passive_flags & FS_TRANS_EXCL) - && np->istranslated) + && (np->dn_stat.st_mode & S_IPTRANS)) { mutex_unlock (&np->lock); return EBUSY; -- cgit v1.2.3