OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: Replace strtoul with simple_strtoul
[android-x86/kernel.git]
/
drivers
/
staging
/
lustre
/
lustre
/
include
/
obd.h
diff --git
a/drivers/staging/lustre/lustre/include/obd.h
b/drivers/staging/lustre/lustre/include/obd.h
index
55452e5
..
9ad8c26
100644
(file)
--- a/
drivers/staging/lustre/lustre/include/obd.h
+++ b/
drivers/staging/lustre/lustre/include/obd.h
@@
-1472,7
+1472,7
@@
static inline bool filename_is_volatile(const char *name, int namelen, int *idx)
}
/* we have an idx, read it */
start = name + LUSTRE_VOLATILE_HDR_LEN + 1;
- *idx = strtoul(start, &end, 0);
+ *idx = s
imple_s
trtoul(start, &end, 0);
/* error cases:
* no digit, no trailing :, negative value
*/