summaryrefslogtreecommitdiff
path: root/libdiskfs/file-set-trans.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-11-19 22:46:42 +0000
committerMiles Bader <miles@gnu.org>1996-11-19 22:46:42 +0000
commitcb2a1610dec9da2cbad1c04eee3f2170cc9a13cc (patch)
tree6c2c0d7c6f9fb506c612e3aa03b92672ec9d69b6 /libdiskfs/file-set-trans.c
parent5041992adc5b71d6e0522eb553913f7ff057798b (diff)
(diskfs_S_file_set_translator):
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
Diffstat (limited to 'libdiskfs/file-set-trans.c')
-rw-r--r--libdiskfs/file-set-trans.c2
1 files changed, 1 insertions, 1 deletions
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;