projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401db79
)
f2fs: return wrong error number on f2fs_quota_write
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Sun, 30 Jul 2017 16:45:14 +0000
(09:45 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 4 Aug 2017 02:05:05 +0000
(19:05 -0700)
This must return size, not error number.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index d53a08ecd4d427285fd54a4c47c9a77fc2d8fb26..4c28576c5b30a0039beff5ae51ff501fa9f89a9f 100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-1122,7
+1122,7
@@
static ssize_t f2fs_quota_write(struct super_block *sb, int type,
}
if (len == towrite)
- return
err
;
+ return
0
;
inode->i_version++;
inode->i_mtime = inode->i_ctime = current_time(inode);
f2fs_mark_inode_dirty_sync(inode, false);