diff options
author | Imran Khan <imran.f.khan@oracle.com> | 2022-06-15 12:10:58 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-27 16:46:15 +0200 |
commit | 41448c614815965d1cdfa720df34257b84afbb9d (patch) | |
tree | 2922922ef8acec7777333d1430e02989d9164445 /fs/kernfs/kernfs-internal.h | |
parent | b8f35fa1188b84035c59d4842826c4e93a1b1c9f (diff) |
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>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions