diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2025-10-09 09:59:19 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-10-20 20:22:26 +0200 |
| commit | f5aa78e2be066f3801785094f1b55a3114fe461a (patch) | |
| tree | b89d5165a7cf685d469c7c1ed231b6915ff7068e /include/linux/backing-dev.h | |
| parent | b4dbfd8653b34b0ab6c024ceda32af488c9b5602 (diff) | |
| download | linux-f5aa78e2be066f3801785094f1b55a3114fe461a.tar.gz linux-f5aa78e2be066f3801785094f1b55a3114fe461a.zip | |
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 'include/linux/backing-dev.h')
| -rw-r--r-- | include/linux/backing-dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 065cba5dc111..0c8342747cab 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h @@ -280,7 +280,7 @@ unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) * Paired with a release fence in inode_do_switch_wbs() and * ensures that we see the new wb if we see cleared I_WB_SWITCH. */ - cookie->locked = inode->i_state & I_WB_SWITCH; + cookie->locked = inode_state_read_once(inode) & I_WB_SWITCH; smp_rmb(); if (unlikely(cookie->locked)) |
