diff options
author | 2025-03-12 17:19:41 +0100 | |
---|---|---|
committer | 2025-03-13 09:54:15 +0100 | |
commit | dc530c44cd64f9788ec4b2efa04ee7499a04a3f4 (patch) | |
tree | a75a09921c76d3ea967e39ded6f5b8846ee456b3 /fs/exportfs/expfs.c | |
parent | fs: dodge an atomic in putname if ref == 1 (diff) | |
download | wireguard-linux-dc530c44cd64f9788ec4b2efa04ee7499a04a3f4.tar.xz wireguard-linux-dc530c44cd64f9788ec4b2efa04ee7499a04a3f4.zip |
fs: use debug-only asserts around fd allocation and install
This also restores the check which got removed in 52732bb9abc9ee5b
("fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd()")
for performance reasons -- they no longer apply with a debug-only
variant.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250312161941.1261615-1-mjguzik@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/exportfs/expfs.c')
0 files changed, 0 insertions, 0 deletions