summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-26 16:43:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-26 16:43:37 +0000
commit1f7a02dce5ae2d40a165fb91910ddde206d0b251 (patch)
treeae7c09c7581cc2099906a0fdd7935ff87306741d /sys/arch/sgi/stand
parentd8faa36b4a67284892e4e4c6e4f90754f3975741 (diff)
sgi had the same bug as sparc64 -- failed to put readdir and fchmod
operations for ufs and ufs2 into the file_system[] array ...
Diffstat (limited to 'sys/arch/sgi/stand')
-rw-r--r--sys/arch/sgi/stand/boot/filesystem.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sgi/stand/boot/filesystem.c b/sys/arch/sgi/stand/boot/filesystem.c
index ac3619c4f03..a9ae8b301a9 100644
--- a/sys/arch/sgi/stand/boot/filesystem.c
+++ b/sys/arch/sgi/stand/boot/filesystem.c
@@ -39,9 +39,12 @@
#include "netfs.h"
struct fs_ops file_system[] = {
- { netfs_open, netfs_close, netfs_read, netfs_write, netfs_seek, netfs_stat },
- { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat },
- { ufs2_open, ufs2_close, ufs2_read, ufs2_write, ufs2_seek, ufs2_stat },
+ { netfs_open, netfs_close, netfs_read, netfs_write, netfs_seek,
+ netfs_stat },
+ { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek,
+ ufs_stat, ufs_readdir, ufs_fchmod },
+ { ufs2_open, ufs2_close, ufs2_read, ufs2_write, ufs2_seek,
+ ufs2_stat, ufs2_readdir, ufs2_fchmod },
};
int nfsys = sizeof(file_system)/sizeof(struct fs_ops);