btrfs: preallocate path for snapshot creation at ioctl time
We can also preallocate btrfs_path that's used during pending snapshotcreation and avoid another late ENOMEM failure.Signed-off-by: David Sterba <dsterba@suse.com>
David Sterba 10 years ago 8546b570 b0c0ea63