diff options
author | Miaohe Lin <[email protected]> | 2022-07-26 22:29:18 +0800 |
---|---|---|
committer | akpm <[email protected]> | 2022-07-29 18:07:19 -0700 |
commit | 116807634569bdb9defe1c01e442e76e4f432961 (patch) | |
tree | fe413772b0f1ece665ba0619b410d0a533105ff9 /lib/memory-notifier-error-inject.c | |
parent | 445c809829dc164c5b1917c72e335bd294aa4dc8 (diff) |
hugetlbfs: fix inaccurate comment in hugetlbfs_statfs()
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.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions