diff options
| author | Christoph Hellwig <[email protected]> | 2024-11-12 05:43:54 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-11-12 13:44:25 +0000 |
| commit | 4d7485cff59951c83aa2b6891b24d68b76d86f6f (patch) | |
| tree | 2bb942a4528938357dad7f3f7ffca80c9d65dd97 | |
| parent | acl: Annotate struct posix_acl with __counted_by() (diff) | |
| download | kernel-4d7485cff59951c83aa2b6891b24d68b76d86f6f.tar.gz kernel-4d7485cff59951c83aa2b6891b24d68b76d86f6f.zip | |
writeback: add a __releases annoation to wbc_attach_and_unlock_inode
This shuts up a sparse lock context tracking warning.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
| -rw-r--r-- | fs/fs-writeback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index d8bec3c1bb1f..3fb115ae44b1 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -733,6 +733,7 @@ bool cleanup_offline_cgwb(struct bdi_writeback *wb) */ void wbc_attach_and_unlock_inode(struct writeback_control *wbc, struct inode *inode) + __releases(&inode->i_lock) { if (!inode_cgwb_enabled(inode)) { spin_unlock(&inode->i_lock); |
