diff options
author | Miles Bader <miles@gnu.org> | 1995-04-19 01:23:55 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-19 01:23:55 +0000 |
commit | bb3d5584f491da311e7474cb73b0ff60a59f1928 (patch) | |
tree | fbb7f2fb38074200ed806806aba7c1c9b93b8603 /ext2fs | |
parent | 9a0a8ea4354cb7ccbc113fb31a98d9731944634b (diff) |
Formerly inode.c.~14~
Diffstat (limited to 'ext2fs')
-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; |