summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-07-30 18:45:14 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-08-04 04:05:05 +0200
commit4f31d26b0c17f2aae6a6afeb823a87e20671ab4b (patch)
tree6cddb3541d38ce2a719b864dd28554545b3117a8 /fs/f2fs
parentf2fs: provide f2fs_balance_fs to __write_node_page (diff)
downloadlinux-4f31d26b0c17f2aae6a6afeb823a87e20671ab4b.tar.xz
linux-4f31d26b0c17f2aae6a6afeb823a87e20671ab4b.zip
f2fs: return wrong error number on f2fs_quota_write
This must return size, not error number. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index d53a08ecd4d4..4c28576c5b30 100644
--- 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);