commit | 49a3c4d9b64d2e5d6fd268d53153945d04cb5559 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Thu Mar 24 17:49:22 2016 +0100 |
committer | David Sterba <dsterba@suse.com> | Fri May 06 15:22:49 2016 +0200 |
tree | 7d35b6496cbffb7f3033a42a171e1a577d896a64 | |
parent | 153519559a39725c5a45269256fec0efb81bcd1f [diff] |
btrfs: use dynamic allocation for root item in create_subvol The size of root item is more than 400 bytes, which is quite a lot of stack space. As we do IO from inside the subvolume ioctls, we should keep the stack usage low in case the filesystem is on top of other layers (NFS, device mapper, iscsi, etc). Reviewed-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>