quota: fixup *_write_file_info() to return proper error code
mainline inclusion from mainline-v6.4-rc1 commit f8107c99 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7D7ZL?from=project-issue CVE: NA -------------------------------- For v1_write_file_info function, when quota_write() returns 0, it should be considered an EIO error. And for v2_write_file_info(), fix to proper error return code instead of raw number. Signed-off-by:Yangtao Li <frank.li@vivo.com> Signed-off-by:
Jan Kara <jack@suse.cz> Message-Id: <20230227120216.31306-1-frank.li@vivo.com> Signed-off-by:
Ye Bin <yebin10@huawei.com> Reviewed-by:
Yang Erkun <yangerkun@huawei.com> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please sign in to comment