Skip to content
Unverified Commit d1f7256a authored by Mateusz Guzik's avatar Mateusz Guzik Committed by Christian Brauner
Browse files

fs: fall back to file_ref_put() for non-last reference



This reduces the slowdown in face of multiple callers issuing close on
what turns out to not be the last reference.

Signed-off-by: default avatarMateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/20250418125756.59677-1-mjguzik@gmail.com


Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202504171513.6d6f8a16-lkp@intel.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 53f7eedd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment