summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/porting.rst
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-04-02 02:00:57 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-04-07 20:56:43 +0300
commitffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b (patch)
tree3181f65f00970c041c87262309e5737b8139b080 /Documentation/filesystems/porting.rst
parent4f0ed93fb92d3528c73c80317509df3f800a222b (diff)
downloadlinux-ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b.tar.xz
switch file_open_root() to struct path
... and provide file_open_root_mnt(), using the root of given mount. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/porting.rst')
-rw-r--r--Documentation/filesystems/porting.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst
index 0302035781be..9bb2b35f90bb 100644
--- a/Documentation/filesystems/porting.rst
+++ b/Documentation/filesystems/porting.rst
@@ -890,3 +890,12 @@ been called or returned with non -EIOCBQUEUED code.
mnt_want_write_file() can now only be paired with mnt_drop_write_file(),
whereas previously it could be paired with mnt_drop_write() as well.
+
+---
+
+**mandatory**
+
+Calling conventions for file_open_root() changed; now it takes struct path *
+instead of passing mount and dentry separately. For callers that used to
+pass <mnt, mnt->mnt_root> pair (i.e. the root of given mount), a new helper
+is provided - file_open_root_mnt(). In-tree users adjusted.