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
LU-9679 modules: Use LIST_HEAD for declaring list_heads
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_page.c
diff --git
a/lustre/osc/osc_page.c
b/lustre/osc/osc_page.c
index
a5321e3
..
9dae62a
100644
(file)
--- a/
lustre/osc/osc_page.c
+++ b/
lustre/osc/osc_page.c
@@
-441,7
+441,7
@@
int lru_queue_work(const struct lu_env *env, void *data)
void osc_lru_add_batch(struct client_obd *cli, struct list_head *plist)
{
void osc_lru_add_batch(struct client_obd *cli, struct list_head *plist)
{
-
struct list_head lru = LIST_HEAD_INIT
(lru);
+
LIST_HEAD
(lru);
struct osc_async_page *oap;
long npages = 0;
struct osc_async_page *oap;
long npages = 0;