diff options
| author | Miaohe Lin <[email protected]> | 2022-07-26 14:29:18 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-30 01:07:19 +0000 |
| commit | 116807634569bdb9defe1c01e442e76e4f432961 (patch) | |
| tree | fe413772b0f1ece665ba0619b410d0a533105ff9 /drivers/fpga/fpga-region.c | |
| parent | hugetlbfs: cleanup some comments in inode.c (diff) | |
| download | kernel-116807634569bdb9defe1c01e442e76e4f432961.tar.gz kernel-116807634569bdb9defe1c01e442e76e4f432961.zip | |
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 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
