* in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see [sun.com URL with a
- * copy of GPLv2].
+ * version 2 along with this program; If not, see
+ * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
struct inode *inode = dentry->d_inode;
int rc;
- lock_kernel();
+ cfs_lock_kernel();
/* A _really_ horrible hack to avoid removing the data stored
* in the block pointers; this is really the "small" stripe MD data.
rc = inode_setattr(inode, iattr);
}
- unlock_kernel();
+ cfs_unlock_kernel();
return rc;
}
{
static unsigned long next = 0;
- if (time_after(jiffies, next)) {
+ if (cfs_time_after(jiffies, next)) {
CERROR("no journal callback kernel patch, faking it...\n");
- next = jiffies + 300 * HZ;
+ next = jiffies + 300 * CFS_HZ;
}
cb_func(obd, last_rcvd, cb_data, 0);
int rc;
memset(&sfs, 0, sizeof(sfs));
-
rc = ll_do_statfs(sb, &sfs);
-
statfs_pack(osfs, &sfs);
return rc;
}