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
/
nfs3xdr.c
diff --git
a/fs/nfs/nfs3xdr.c
b/fs/nfs/nfs3xdr.c
index b6c0b5012bce36c551d333e2348f777a5162074e..5224a191efb657486e7bb10a21fcc29b3bb2b95d 100644
(file)
--- a/
fs/nfs/nfs3xdr.c
+++ b/
fs/nfs/nfs3xdr.c
@@
-1138,7
+1138,7
@@
struct rpc_procinfo nfs3_procedures[] = {
struct rpc_version nfs_version3 = {
.number = 3,
- .nrprocs =
sizeof(nfs3_procedures)/sizeof(nfs3_procedures[0]
),
+ .nrprocs =
ARRAY_SIZE(nfs3_procedures
),
.procs = nfs3_procedures
};
This page took
0.025765 seconds
and
5
git commands to generate.