doc: update porting, vfs documentation to describe mmap_prepare()
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Wed, 23 Jul 2025 12:30:36 +0000 (13:30 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 23 Jul 2025 13:09:14 +0000 (15:09 +0200)
commit425c8bb39b032bfb338857476eff5bbee324343e
tree759eee456335ee4039504bfb4f151066c870c61d
parent738a6cf8fc51c3b7186c2fc9b2478fa4796ece52
doc: update porting, vfs documentation to describe mmap_prepare()

Now that we have established .mmap_prepare() as the preferred means by
which filesystems establish state upon memory mapping of a file, update the
VFS and porting documentation to reflect this.

As part of this change, additionally update the VFS documentation to
contain the current state of the file_operations struct.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Link: https://lore.kernel.org/20250723123036.35472-1-lorenzo.stoakes@oracle.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/porting.rst
Documentation/filesystems/vfs.rst