summaryrefslogtreecommitdiffstats
path: root/fs/ntfs3/super.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-06-30 16:12:58 +0400
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-09-28 15:03:56 +0300
commitfc471e39e38fea6677017cbdd6d928088a59fc67 (patch)
tree7f8b18e0e53ffed5750aad4e051b15382aeaab7e /fs/ntfs3/super.c
parent06ccfb00645990a9fcc14249e6d1c25921ecb836 (diff)
downloadlinux-stable-fc471e39e38fea6677017cbdd6d928088a59fc67.tar.gz
linux-stable-fc471e39e38fea6677017cbdd6d928088a59fc67.tar.bz2
linux-stable-fc471e39e38fea6677017cbdd6d928088a59fc67.zip
fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/super.c')
-rw-r--r--fs/ntfs3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index cfec5e0c7f66..ea4e218c3f75 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -1367,7 +1367,7 @@ static int ntfs_fill_super(struct super_block *sb, struct fs_context *fc)
}
bytes = inode->i_size;
- sbi->def_table = t = kmalloc(bytes, GFP_NOFS | __GFP_NOWARN);
+ sbi->def_table = t = kvmalloc(bytes, GFP_KERNEL);
if (!t) {
err = -ENOMEM;
goto put_inode_out;