Messages in this thread | | | Date | Wed, 27 Jul 2022 14:46:14 +0800 | From | Muchun Song <> | Subject | Re: [PATCH v2 5/5] hugetlbfs: fix inaccurate comment in hugetlbfs_statfs() |
| |
On Tue, Jul 26, 2022 at 10:29:18PM +0800, Miaohe Lin wrote: > In some cases, e.g. when size option is not specified, f_blocks, f_bavail > and f_bfree will be set to -1 instead of 0. Likewise, when nr_inodes isn't > specified, f_files and f_ffree will be set to -1 too. Update the comment > to make this clear. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Thanks.
| |