summaryrefslogtreecommitdiff
path: root/libdiskfs/file-set-trans.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:42:29 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:42:29 +0000
commitd194f05e7c27f0a7b0daacc04d39f01fd926389a (patch)
tree5ba29c09dc539f3be2f3ce2aa341b359e2e1a142 /libdiskfs/file-set-trans.c
parent544ab327dd91d5b60154bc2b2f299cfac5c8b2f7 (diff)
(diskfs_S_file_set_translator): Use diskfs_check_readonly instead of diskfs_readonly.
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 7f3aa23e..1143ef4a 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -43,7 +43,7 @@ diskfs_S_file_set_translator (struct protid *cred,
if (!(passive_flags & FS_TRANS_SET) && !(active_flags & FS_TRANS_SET))
return 0;
- if ((passive_flags & FS_TRANS_SET) && diskfs_readonly)
+ if ((passive_flags & FS_TRANS_SET) && diskfs_check_readonly ())
return EROFS;
if (passive && passive[passivelen - 1])