mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
stand: Use c99 structure initialization for nfs_fsops
Sponsored by: Netflix
This commit is contained in:
parent
0ad8a113b7
commit
90a7e556a4
@ -133,14 +133,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;
|
||||
|
Loading…
Reference in New Issue
Block a user