diff options
Diffstat (limited to 'stand/libsa/nfs.c')
-rw-r--r-- | stand/libsa/nfs.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/stand/libsa/nfs.c b/stand/libsa/nfs.c index 5757395caba2..ee6af8a726c7 100644 --- a/stand/libsa/nfs.c +++ b/stand/libsa/nfs.c @@ -28,9 +28,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/param.h> #include <sys/time.h> #include <sys/socket.h> @@ -133,14 +130,14 @@ static int nfs_readdir(struct open_file *f, struct dirent *d); struct nfs_iodesc nfs_root_node; struct fs_ops nfs_fsops = { - "nfs", - nfs_open, - nfs_close, - nfs_read, - null_write, - nfs_seek, - nfs_stat, - nfs_readdir + .fs_name = "nfs", + .fo_open = nfs_open, + .fo_close = nfs_close, + .fo_read = nfs_read, + .fo_write = null_write, + .fo_seek = nfs_seek, + .fo_stat = nfs_stat, + .fo_readdir = nfs_readdir, }; static int nfs_read_size = NFSREAD_MIN_SIZE; |