docs: filesystems: fix typo in docs
This patch resolves a spelling error in the filesystem documentation. It is submitted as part of my application to the "Linux Kernel Bug Fixing Spring Unpaid 2024" mentorship program of the Linux Kernel Foundation. Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com> Link: https://lore.kernel.org/r/20240208162032.109184-1-vincenzo.mezzela@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
dacfd001ea
commit
ef560389ca
|
@ -116,7 +116,7 @@ before and after the reference count increment. This pattern can be seen
|
||||||
in get_file_rcu() and __files_get_rcu().
|
in get_file_rcu() and __files_get_rcu().
|
||||||
|
|
||||||
In addition, it isn't possible to access or check fields in struct file
|
In addition, it isn't possible to access or check fields in struct file
|
||||||
without first aqcuiring a reference on it under rcu lookup. Not doing
|
without first acquiring a reference on it under rcu lookup. Not doing
|
||||||
that was always very dodgy and it was only usable for non-pointer data
|
that was always very dodgy and it was only usable for non-pointer data
|
||||||
in struct file. With SLAB_TYPESAFE_BY_RCU it is necessary that callers
|
in struct file. With SLAB_TYPESAFE_BY_RCU it is necessary that callers
|
||||||
either first acquire a reference or they must hold the files_lock of the
|
either first acquire a reference or they must hold the files_lock of the
|
||||||
|
|
Loading…
Reference in New Issue