summaryrefslogtreecommitdiff
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorImran Khan <imran.f.khan@oracle.com>2022-06-15 05:10:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 17:46:15 +0300
commit41448c614815965d1cdfa720df34257b84afbb9d (patch)
tree2922922ef8acec7777333d1430e02989d9164445 /fs/kernfs/kernfs-internal.h
parentb8f35fa1188b84035c59d4842826c4e93a1b1c9f (diff)
downloadlinux-41448c614815965d1cdfa720df34257b84afbb9d.tar.xz
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