aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorImran Khan <[email protected]>2022-06-15 02:10:58 +0000
committerGreg Kroah-Hartman <[email protected]>2022-06-27 14:46:15 +0000
commit41448c614815965d1cdfa720df34257b84afbb9d (patch)
tree2922922ef8acec7777333d1430e02989d9164445 /fs/kernfs/kernfs-internal.h
parentkernfs: Change kernfs_notify_list to llist. (diff)
downloadkernel-41448c614815965d1cdfa720df34257b84afbb9d.tar.gz
kernel-41448c614815965d1cdfa720df34257b84afbb9d.zip
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 <[email protected]> Signed-off-by: Imran Khan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions