diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-04-29 20:47:10 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-04-29 20:47:10 +0000 |
commit | 9f5d586c97f0c69480f51fa40d06e6720f36dd6d (patch) | |
tree | 2a80882b8e07436637e0729c87a7192a50231dbd /lib/libstand/nfs.c | |
parent | 0340a88f8a7d13623dc70269b23cf87bc47decff (diff) | |
download | FreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.zip FreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.tar.gz |
Add a readdir function to the loader fsops vector, and implement the
functionality for some of the filesystesms.
Diffstat (limited to 'lib/libstand/nfs.c')
-rw-r--r-- | lib/libstand/nfs.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libstand/nfs.c b/lib/libstand/nfs.c index 7b0e783..1206bb7 100644 --- a/lib/libstand/nfs.c +++ b/lib/libstand/nfs.c @@ -1,3 +1,4 @@ +/* $FreeBSD$ */ /* $NetBSD: nfs.c,v 1.2 1998/01/24 12:43:09 drochner Exp $ */ /*- @@ -109,10 +110,16 @@ static off_t nfs_seek(struct open_file *f, off_t offset, int where); static int nfs_stat(struct open_file *f, struct stat *sb); struct fs_ops nfs_fsops = { - "nfs", nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat + "nfs", + nfs_open, + nfs_close, + nfs_read, + nfs_write, + nfs_seek, + nfs_stat, + null_readdir }; - /* * Fetch the root file handle (call mount daemon) * Return zero or error number. |