diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-30 09:45:14 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-08-03 19:05:05 -0700 |
commit | 4f31d26b0c17f2aae6a6afeb823a87e20671ab4b (patch) | |
tree | 6cddb3541d38ce2a719b864dd28554545b3117a8 /fs | |
parent | 401db79f61e0810e7c9fa3c7425c0aef84e5c30a (diff) |
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')
-rw-r--r-- | fs/f2fs/super.c | 2 |
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); |