Merge tag 'exfat-for-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linki...
[linux-block.git] / fs / exfat / super.c
index 381b9100edca08af85c8ada57f0c1913f7c0fe43..8ca21e7917d16a8806c4debb09b1a4e2197a4ac8 100644 (file)
@@ -179,7 +179,7 @@ static struct inode *exfat_alloc_inode(struct super_block *sb)
 {
        struct exfat_inode_info *ei;
 
-       ei = kmem_cache_alloc(exfat_inode_cachep, GFP_NOFS);
+       ei = alloc_inode_sb(sb, exfat_inode_cachep, GFP_NOFS);
        if (!ei)
                return NULL;