* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
ENTRY;
*eof = 1;
- rc = snprintf(page, count, "["LPX64" - "LPX64"]:%x\n",
+ rc = snprintf(page, count, "["LPX64" - "LPX64"]:%x:%x\n",
PRANGE(range));
RETURN(rc);
}
cfs_down(&seq->lcs_sem);
rc = lprocfs_write_helper(buffer, count, &val);
- if (rc)
+ if (rc) {
+ cfs_up(&seq->lcs_sem);
RETURN(rc);
+ }
if (val <= LUSTRE_SEQ_MAX_WIDTH && val > 0) {
seq->lcs_width = val;