diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:39:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:39:48 +0000 |
commit | bb3c3cc44d811ccf52bede5155960ef164c076ad (patch) | |
tree | 314cea0e9b2909a7d769a363e09f1b4c205e276d | |
parent | 01c5a93e50f8f1186596c2f35bdf809b03c93f6c (diff) |
(diskfs_S_dir_rename): Use diskfs_check_readonly instead of diskfs_readonly.
-rw-r--r-- | libdiskfs/dir-rename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c index 22f2fee6..7e993def 100644 --- a/libdiskfs/dir-rename.c +++ b/libdiskfs/dir-rename.c @@ -42,7 +42,7 @@ diskfs_S_dir_rename (struct protid *fromcred, if (!tocred) return EXDEV; - if (diskfs_readonly) + if (diskfs_check_readonly ()) return EROFS; fdp = fromcred->po->np; |