switch file_open_root() to struct path
[linux-block.git] / Documentation / filesystems / porting.rst
index 0302035781beb0bc1af82ad51bcda83c57428d70..9bb2b35f90bbb21780c4dde0923995dce104bbbe 100644 (file)
@@ -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.