* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2011, 2013, Intel Corporation.
+ * Copyright (c) 2011, 2014, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
LPROC_SEQ_FOPS(lprocfs_server_fid_width);
LPROC_SEQ_FOPS_RO(lprocfs_server_fid_server);
-struct lprocfs_vars seq_server_proc_list[] = {
+struct lprocfs_seq_vars seq_server_proc_list[] = {
{ .name = "space",
.fops = &lprocfs_server_fid_space_fops },
{ .name = "width",
fld = ss->lss_site->ss_server_fld;
LASSERT(fld != NULL);
- LPROCFS_ENTRY_CHECK(PDE(inode));
+ rc = LPROCFS_ENTRY_CHECK(inode);
+ if (rc < 0)
+ return rc;
+
rc = seq_open(file, &fldb_sops);
if (rc)
return rc;
LPROC_SEQ_FOPS_RO(lprocfs_client_fid_server);
LPROC_SEQ_FOPS_RO(lprocfs_client_fid_fid);
-struct lprocfs_vars seq_client_proc_list[] = {
+struct lprocfs_seq_vars seq_client_proc_list[] = {
{ .name = "space",
.fops = &lprocfs_client_fid_space_fops },
{ .name = "width",