Skip to content
Commit 027ed2f0 authored by Li Zefan's avatar Li Zefan Committed by Chris Mason
Browse files

Btrfs: avoid stack bloat in btrfs_ioctl_fs_info()



The size of struct btrfs_ioctl_fs_info_args is as big as 1KB, so
don't declare the variable on stack.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Reviewed-by: default avatarJosef Bacik <josef@redhat.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 9eb9104c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment