diff options
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r-- | ext2fs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 3b172037..7e8df678 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -399,6 +399,8 @@ error_t diskfs_set_translator (struct node *np, char *name, u_int namelen, struct protid *cred) { + if (diskfs_readonly) + return EROFS; #ifdef XXX daddr_t blkno; error_t err; |