diff options
-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) |