Fix r304026 so that it builds for gcc.
Reported by: np Tested by: np MFC after: 1 month
This commit is contained in:
parent
bb3860fbd0
commit
684d18c9ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304194
@ -130,7 +130,8 @@ static void compute_new_stats(struct nfsstatsv1 *cur_stats,
|
|||||||
struct stattypes {
|
struct stattypes {
|
||||||
int stat_type;
|
int stat_type;
|
||||||
int nfs_type;
|
int nfs_type;
|
||||||
} static statstruct[] = {
|
};
|
||||||
|
static struct stattypes statstruct[] = {
|
||||||
{STAT_TYPE_READ, NFSV4OP_READ},
|
{STAT_TYPE_READ, NFSV4OP_READ},
|
||||||
{STAT_TYPE_WRITE, NFSV4OP_WRITE},
|
{STAT_TYPE_WRITE, NFSV4OP_WRITE},
|
||||||
{STAT_TYPE_COMMIT, NFSV4OP_COMMIT}
|
{STAT_TYPE_COMMIT, NFSV4OP_COMMIT}
|
||||||
|
Loading…
Reference in New Issue
Block a user