aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-10-09 09:59:19 +0200
committerChristian Brauner <brauner@kernel.org>2025-10-20 20:22:26 +0200
commitf5aa78e2be066f3801785094f1b55a3114fe461a (patch)
treeb89d5165a7cf685d469c7c1ed231b6915ff7068e /Documentation
parentb4dbfd8653b34b0ab6c024ceda32af488c9b5602 (diff)
downloadlinux-f5aa78e2be066f3801785094f1b55a3114fe461a.tar.gz
Manual conversion to use ->i_state accessors of all places not covered by coccinelle
Nothing to look at apart from iput_final(). Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/porting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst
index 7233b04668fcce..35f027981b217d 100644
--- a/Documentation/filesystems/porting.rst
+++ b/Documentation/filesystems/porting.rst
@@ -211,7 +211,7 @@ test and set for you.
e.g.::
inode = iget_locked(sb, ino);
- if (inode->i_state & I_NEW) {
+ if (inode_state_read_once(inode) & I_NEW) {
err = read_inode_from_disk(inode);
if (err < 0) {
iget_failed(inode);