diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:38:14 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:38:14 +0000 |
commit | 3d467ea643dd2aefa33d65be42b154f2960db7a5 (patch) | |
tree | b1b3f16e33db65f1ee26d0203a8a78214a93501d | |
parent | 4013274fbdeb9c4e30faef709c9f5d2c28f9f356 (diff) |
(diskfs_S_dir_lookup): Use diskfs_check_readonly instead of diskfs_readonly.
-rw-r--r-- | libdiskfs/dir-lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 59e850cd..c8138254 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -383,7 +383,7 @@ diskfs_S_dir_lookup (struct protid *dircred, { if (type == S_IFDIR) error = EISDIR; - else if (diskfs_readonly) + else if (diskfs_check_readonly ()) error = EROFS; else error = diskfs_access (np, S_IWRITE, dircred); |