Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add 2.6.27 kernel support
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
layout.c
diff --git
a/lustre/ptlrpc/layout.c
b/lustre/ptlrpc/layout.c
index
d459393
..
4e4a78c
100644
(file)
--- a/
lustre/ptlrpc/layout.c
+++ b/
lustre/ptlrpc/layout.c
@@
-1253,10
+1253,9
@@
int req_layout_init(void)
int i;
int j;
int k;
+ struct req_format *rf = NULL;
for (i = 0; i < ARRAY_SIZE(req_formats); ++i) {
- struct req_format *rf;
-
rf = (struct req_format *)req_formats[i];
rf->rf_idx = i;
for (j = 0; j < RCL_NR; ++j) {