* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2011, 2012, Whamcloud, Inc.
+ * Copyright (c) 2012, 2013, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
struct lu_env fsp_env;
struct dt_it *fsp_it;
struct lu_server_fld *fsp_fld;
- int fsp_stop:1;
+ unsigned int fsp_stop:1;
};
static void *fldb_seq_start(struct seq_file *p, loff_t *pos)
struct lu_server_fld *fld;
struct dt_object *obj;
+ if (param == NULL)
+ return;
+
fld = param->fsp_fld;
obj = fld->lsf_obj;
LASSERT(obj != NULL);
iops = &obj->do_index_ops->dio_it;
iops->put(¶m->fsp_env, param->fsp_it);
- return;
}
static void *fldb_seq_next(struct seq_file *p, void *v, loff_t *pos)