fs-convert-alloc_inode_sb-to-a-macro.patch removed from -mm tree
The quilt patch titled
Subject: fs: convert alloc_inode_sb() to a macro
has been removed from the -mm tree. Its filename was
fs-convert-alloc_inode_sb-to-a-macro.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Kent Overstreet <[email protected]>
Subject: fs: convert alloc_inode_sb() to a macro
Date: Thu, 21 Mar 2024 09:36:27 -0700
We're introducing alloc tagging, which tracks memory allocations by callsite. Converting alloc_inode_sb() to a macro means allocations will be tracked by its caller, which is a bit more useful.
Signed-off-by Kent Overstreet <[email protected]>
Signed-off-by Suren Baghdasaryan <[email protected]>
Cc Alexander Viro <[email protected]>
Reviewed-by Kees Cook <[email protected]>
Reviewed-by Pasha Tatashin <[email protected]>
Tested-by Kees Cook <[email protected]>
Cc Alex Gaynor <[email protected]>
Cc Alice Ryhl <[email protected]>
Cc Andreas Hindborg <[email protected]>
Cc Benno Lossin <[email protected]>
Cc "Björn Roy Baron" <[email protected]>
Cc Boqun Feng <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Dennis Zhou <[email protected]>
Cc Gary Guo <[email protected]>
Cc Miguel Ojeda <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Wedson Almeida Filho <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/fs.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
include/linux/fs.h renamed from include/linux/fs.h~fs-convert-alloc_inode_sb-to-a-macro +1 -5
@@ -3085,11 +3085,7 @@ int setattr_should_drop_sgid(struct mnt_* This must be used for allocating filesystems specific inodes to set * up the inode reclaim context correctly. */ -static inline void * -alloc_inode_sb (struct super_block *sb,struct kmem_cache *cache,gfp_t gfp) -{ -return kmem_cache_alloc_lru (cache, &sb->s_inode_lru, gfp); -} +#define alloc_inode_sb (_sb, _cache, _gfp) kmem_cache_alloc_lru(_cache, &_sb->s_inode_lru, _gfp)extern void __insert_inode_hash (struct inode *,unsigned long hashval);static inline void insert_inode_hash (struct inode *inode)
_
Patches currently in -mm which might be from [email protected] are