diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:37:45 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:37:45 +0000 |
commit | 4013274fbdeb9c4e30faef709c9f5d2c28f9f356 (patch) | |
tree | ac6fa44cd637b4f01969bb532210b0f604f51e2e /libdiskfs/dir-link.c | |
parent | d716d47a7a38cad7da22719e687a9c7b00867486 (diff) |
(diskfs_S_dir_link): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'libdiskfs/dir-link.c')
-rw-r--r-- | libdiskfs/dir-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c index 5827772d..27928d05 100644 --- a/libdiskfs/dir-link.c +++ b/libdiskfs/dir-link.c @@ -35,7 +35,7 @@ diskfs_S_dir_link (struct protid *dircred, return EOPNOTSUPP; np = filecred->po->np; - if (diskfs_readonly) + if (diskfs_check_readonly ()) return EROFS; if (!dircred) |