projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
745e849
)
f2fs: use correct errno
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 9 Feb 2016 18:24:31 +0000
(10:24 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000
(16:07 -0800)
This patch is to fix misused error number.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/segment.c
b/fs/f2fs/segment.c
index 57a5f7bb275ae21b0935e1d8f89e83624bf06117..47fbb72635ef24242e0abdb1571e2442ddca9a85 100644
(file)
--- a/
fs/f2fs/segment.c
+++ b/
fs/f2fs/segment.c
@@
-505,7
+505,7
@@
static int f2fs_issue_discard(struct f2fs_sb_info *sbi,
bool discard_next_dnode(struct f2fs_sb_info *sbi, block_t blkaddr)
{
- int err = -ENOTSUPP;
+ int err = -E
OP
NOTSUPP;
if (test_opt(sbi, DISCARD)) {
struct seg_entry *se = get_seg_entry(sbi,