Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-506 kernel: FC15 - fix GCC 'set-but-unused' warnings
[fs/lustre-release.git]
/
lustre
/
lvfs
/
quotafmt_test.c
diff --git
a/lustre/lvfs/quotafmt_test.c
b/lustre/lvfs/quotafmt_test.c
index
1f46d9a
..
f9e3c95
100644
(file)
--- a/
lustre/lvfs/quotafmt_test.c
+++ b/
lustre/lvfs/quotafmt_test.c
@@
-26,7
+26,7
@@
* GPL HEADER END
*/
/*
* 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.
*/
/*
* Use is subject to license terms.
*/
/*
@@
-50,7
+50,6
@@
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/kernel.h>
-#include <linux/random.h>
#include <lustre_quota.h>
#include <obd_class.h>
#include <lustre_quota.h>
#include <obd_class.h>
@@
-230,7
+229,7
@@
static struct lustre_dquot *get_rand_dquot(struct lustre_quota_info *lqi)
if (dquot == NULL)
return NULL;
if (dquot == NULL)
return NULL;
-
ll
_get_random_bytes(&rand, sizeof(rand));
+
cfs
_get_random_bytes(&rand, sizeof(rand));
if (!rand)
rand = 1000;
if (!rand)
rand = 1000;