Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f700c72d authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nfs: use ARRAY_SIZE() in the nfsacl_version3 declaration



Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 1c5876dd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2611,8 +2611,7 @@ static struct rpc_procinfo nfs3_acl_procedures[] = {
static unsigned int nfs3_acl_counts[ARRAY_SIZE(nfs3_acl_procedures)];
const struct rpc_version nfsacl_version3 = {
	.number			= 3,
	.nrprocs		= sizeof(nfs3_acl_procedures)/
				  sizeof(nfs3_acl_procedures[0]),
	.nrprocs		= ARRAY_SIZE(nfs3_acl_procedures),
	.procs			= nfs3_acl_procedures,
	.counts			= nfs3_acl_counts,
};