projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
staging: lustre: llite: Use kzalloc and rewrite null tests
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
llite
/
llite_rmtacl.c
diff --git
a/drivers/staging/lustre/lustre/llite/llite_rmtacl.c
b/drivers/staging/lustre/lustre/llite/llite_rmtacl.c
index be0c3eff108c62cf932db5554d788916ea049f14..586f49a374ec552a0e19f77dc6f8539cf70334bf 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/llite_rmtacl.c
+++ b/
drivers/staging/lustre/lustre/llite/llite_rmtacl.c
@@
-58,7
+58,7
@@
static inline __u32 ee_hashfunc(uid_t id)
return id & (EE_HASHES - 1);
}
return id & (EE_HASHES - 1);
}
-
obd_valid
rce_ops2valid(int ops)
+
u64
rce_ops2valid(int ops)
{
switch (ops) {
case RMT_LSETFACL:
{
switch (ops) {
case RMT_LSETFACL:
@@
-78,7
+78,7
@@
static struct rmtacl_ctl_entry *rce_alloc(pid_t key, int ops)
{
struct rmtacl_ctl_entry *rce;
{
struct rmtacl_ctl_entry *rce;
-
OBD_ALLOC_PTR(rce
);
+
rce = kzalloc(sizeof(*rce), GFP_NOFS
);
if (!rce)
return NULL;
if (!rce)
return NULL;
@@
-184,7
+184,7
@@
static struct eacl_entry *ee_alloc(pid_t key, struct lu_fid *fid, int type,
{
struct eacl_entry *ee;
{
struct eacl_entry *ee;
-
OBD_ALLOC_PTR(ee
);
+
ee = kzalloc(sizeof(*ee), GFP_NOFS
);
if (!ee)
return NULL;
if (!ee)
return NULL;
This page took
0.027919 seconds
and
5
git commands to generate.