fs: Make file-nr output the total allocated file handles
authorLi RongQing <lirongqing@baidu.com>
Thu, 10 Apr 2025 11:21:17 +0000 (19:21 +0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 21 Apr 2025 08:27:58 +0000 (10:27 +0200)
commitef181fa11d9e09d3741525937d7bab4c5ab91ef7
tree31f9e5b5c5b3d406365cea8a64ca48089b38db1c
parent6b24a702ecf167ab61456276bb72133d84ccca45
fs: Make file-nr output the total allocated file handles

Make file-nr output the total allocated file handles, not per-cpu
cache number, it's more precise, and not in hot path

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Link: https://lore.kernel.org/20250410112117.2851-1-lirongqing@baidu.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/file_table.c