Whamcloud - gitweb
LU-15070 mdt: revoke remote LOOKUP lock for default LMV
[fs/lustre-release.git] / lustre / fld / lproc_fld.c
index 80f0ae4..9164101 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * lustre/fld/lproc_fld.c
  *
@@ -209,6 +208,7 @@ static void *fldb_seq_next(struct seq_file *p, void *v, loff_t *pos)
        const struct dt_it_ops  *iops;
        int                     rc;
 
+       ++*pos;
        if (param == NULL || param->fsp_stop)
                return NULL;
 
@@ -261,7 +261,7 @@ static int fldb_seq_show(struct seq_file *p, void *v)
        return rc;
 }
 
-struct seq_operations fldb_sops = {
+static const struct seq_operations fldb_sops = {
        .start = fldb_seq_start,
        .stop = fldb_seq_stop,
        .next = fldb_seq_next,