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-12503 vvp_dev: increment *pos in .next
[fs/lustre-release.git]
/
lustre
/
llite
/
vvp_dev.c
diff --git
a/lustre/llite/vvp_dev.c
b/lustre/llite/vvp_dev.c
index
3802bc7
..
d36aed3
100644
(file)
--- a/
lustre/llite/vvp_dev.c
+++ b/
lustre/llite/vvp_dev.c
@@
-558,7
+558,7
@@
static void *vvp_pgcache_next(struct seq_file *f, void *v, loff_t *pos)
struct vvp_seq_private *priv = f->private;
WARN_ON(*pos != priv->vvp_prev_pos);
-
+ *pos += 1;
priv->vvp_prev_pos = *pos;
return vvp_pgcache_next_page(priv);
}