diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-11-12 10:47:52 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-12 10:47:52 +0100 |
| commit | e9d50b78fdfe675b038ddaec7a139dbe3082174c (patch) | |
| tree | e1b5635e0fd61069b505895f1dd2fa4414a93ba5 /include | |
| parent | 3cd1548a278c7d6a9bdef1f1866e7cf66bfd3518 (diff) | |
| parent | 56325e8c68c0724d626f665773a5005dcf44e329 (diff) | |
| download | linux-e9d50b78fdfe675b038ddaec7a139dbe3082174c.tar.gz linux-e9d50b78fdfe675b038ddaec7a139dbe3082174c.tar.bz2 linux-e9d50b78fdfe675b038ddaec7a139dbe3082174c.zip | |
Merge patch series "fs: add iput_not_last()"
Add iput_not_last() and switch landlock over to it to remove
false-positives from might_sleep() annotations in iput().
Link: https://patch.msgid.link/20251105212025.807549-1-mjguzik@gmail.com
* patches from https://patch.msgid.link/20251105212025.807549-1-mjguzik@gmail.com:
landlock: fix splats from iput() after it started calling might_sleep()
fs: add iput_not_last()
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 249a1da8440e..dd3b57cfadee 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2824,6 +2824,7 @@ extern int current_umask(void); extern void ihold(struct inode * inode); extern void iput(struct inode *); +void iput_not_last(struct inode *); int inode_update_timestamps(struct inode *inode, int flags); int generic_update_time(struct inode *, int); |
