diff options
-rw-r--r-- | libnetfs/file-set-translator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c index 096e733a..685b5a02 100644 --- a/libnetfs/file-set-translator.c +++ b/libnetfs/file-set-translator.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -78,7 +78,7 @@ netfs_S_file_set_translator (struct protid *user, && (passive_flags & FS_TRANS_EXCL)) { err = netfs_validate_stat (np, user->user); - if (!err && np->istranslated) + if (!err && (np->nn_stat.st_mode & S_IPTRANS)) err = EBUSY; if (err) goto out; |