Btrfs: avoid stack bloat in btrfs_ioctl_fs_info()
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 8 Jun 2011 08:27:56 +0000 (08:27 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 10 Jun 2011 22:57:10 +0000 (18:57 -0400)
commit027ed2f0044e95a97ed34db2d55a9ca95ba84385
tree7bcdb6d542e5adbbe8cfd59c9ddc36be868f1238
parent9eb9104c665aae2401a1723c044669eb10240072
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: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c