mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
f2fs: return wrong error number on f2fs_quota_write
This must return size, not error number. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
401db79f61
commit
4f31d26b0c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user