summaryrefslogtreecommitdiff
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-24 17:49:22 +0100
committerDavid Sterba <dsterba@suse.com>2016-05-06 15:22:49 +0200
commit49a3c4d9b64d2e5d6fd268d53153945d04cb5559 (patch)
tree7d35b6496cbffb7f3033a42a171e1a577d896a64 /fs/btrfs/scrub.c
parent153519559a39725c5a45269256fec0efb81bcd1f (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>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions