kernfs: Introduce interface to access global kernfs_open_file_mutex.
This allows to change underlying mutex locking, without needing to change the users of the lock. For example next patch modifies this interface to use hashed mutexes in place of a single global kernfs_open_file_mutex. Acked-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Imran Khan <imran.f.khan@oracle.com> Link: https://lore.kernel.org/r/20220615021059.862643-4-imran.f.khan@oracle.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
b8f35fa1
Please register or sign in to comment