diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:42:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:42:29 +0000 |
commit | d194f05e7c27f0a7b0daacc04d39f01fd926389a (patch) | |
tree | 5ba29c09dc539f3be2f3ce2aa341b359e2e1a142 /libdiskfs | |
parent | 544ab327dd91d5b60154bc2b2f299cfac5c8b2f7 (diff) |
(diskfs_S_file_set_translator): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/file-set-trans.c | 2 |
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]) |