diff options
Diffstat (limited to 'libdiskfs')
-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); |