Commit a466f5dd authored by Lu Jialin's avatar Lu Jialin Committed by Zheng Zengkai
Browse files

fs/filescontrol.c: fix warning:large integer implicitly truncated to unsigned type



hulk inclusion
category: bugfix
bugzilla: 50779
CVE: NA

--------

page_counter_set_max(struct page_counter *counter, unsigned long nr_pages)
the nr_pages is unsigned long, therefore change FILES_MAX to ULONG_MAX

Signed-off-by: default avatarLu Jialin <lujialin4@huawei.com>
Reviewed-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 319e568b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment