提交 6e5b5d41 编写于 作者: J Jaegeuk Kim

Revert "f2fs: return wrong error number on f2fs_quota_write"

This reverts commit 4f31d26b.

It turns out that we need to report error number if nothing was written.
Reviewed-by: NChao Yu <yuchao0@huawei.com>
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 9c77f754
......@@ -1396,7 +1396,7 @@ static ssize_t f2fs_quota_write(struct super_block *sb, int type,
}
if (len == towrite)
return 0;
return err;
inode->i_version++;
inode->i_mtime = inode->i_ctime = current_time(inode);
f2fs_mark_inode_dirty_sync(inode, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册