projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: Introduce IOPRIO_NR_LEVELS
[linux-2.6-microblaze.git]
/
fs
/
f2fs
/
sysfs.c
diff --git
a/fs/f2fs/sysfs.c
b/fs/f2fs/sysfs.c
index
6642246
..
daad532
100644
(file)
--- a/
fs/f2fs/sysfs.c
+++ b/
fs/f2fs/sysfs.c
@@
-378,7
+378,7
@@
out:
ret = kstrtol(name, 10, &data);
if (ret)
return ret;
- if (data >= IOPRIO_
BE_NR
|| data < 0)
+ if (data >= IOPRIO_
NR_LEVELS
|| data < 0)
return -EINVAL;
cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, data);