projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] fs: Use ARRAY_SIZE macro
[deliverable/linux.git]
/
fs
/
nfs
/
nfs2xdr.c
diff --git
a/fs/nfs/nfs2xdr.c
b/fs/nfs/nfs2xdr.c
index 7fc0560c89c99187e8a7a8b386f69712aa19b347..6548a65de9444e56dc8fe67382c599b9b76b4216 100644
(file)
--- a/
fs/nfs/nfs2xdr.c
+++ b/
fs/nfs/nfs2xdr.c
@@
-704,6
+704,6
@@
struct rpc_procinfo nfs_procedures[] = {
struct rpc_version nfs_version2 = {
.number = 2,
- .nrprocs =
sizeof(nfs_procedures)/sizeof(nfs_procedures[0]
),
+ .nrprocs =
ARRAY_SIZE(nfs_procedures
),
.procs = nfs_procedures
};
This page took
0.023574 seconds
and
5
git commands to generate.