OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ac270
)
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>
Thu, 21 Sep 2017 21:11:39 +0000
(14:11 -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
991448c
..
a8aa498
100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-1123,7
+1123,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);