aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 6e71a2a78363..4b817947e00f 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1545,7 +1545,7 @@ static struct dentry *btrfs_mount_root(struct file_system_type *fs_type,
1545 * it for searching for existing supers, so this lets us do that and 1545 * it for searching for existing supers, so this lets us do that and
1546 * then open_ctree will properly initialize everything later. 1546 * then open_ctree will properly initialize everything later.
1547 */ 1547 */
1548 fs_info = kzalloc(sizeof(struct btrfs_fs_info), GFP_KERNEL); 1548 fs_info = kvzalloc(sizeof(struct btrfs_fs_info), GFP_KERNEL);
1549 if (!fs_info) { 1549 if (!fs_info) {
1550 error = -ENOMEM; 1550 error = -ENOMEM;
1551 goto error_sec_opts; 1551 goto error_sec_opts;