commit | 2cb9b4dbbd21585253a3dc314e91418ff3a9bb68 | [log] [tgz] |
---|---|---|
author | Neil Horman <nhorman@tuxdriver.com> | Thu Dec 03 13:45:44 2015 -0500 |
committer | David Sterba <dsterba@suse.com> | Tue Jan 12 15:01:06 2016 +0100 |
tree | 8fa8a268d545893d6ed82b3dae1677249276ab71 | |
parent | e3bd2d145f3821e5c57d56931e78efca22578a97 [diff] |
btrfs: only free root_path if it was allocated from the heap Noticed this while doing some snapshots in a chroot environment btrfs receive can set root_path to either realmnt, which is passed in from the command line, or to a heap allocated via find_mount_root in do_receive. We should only free the later, not the former, as the former results in an invalid pointer warning from glibc during free. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Userspace utilities to manage btrfs filesystems. License: GPLv2.
Btrfs is a copy on write (COW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration.
This repository hosts following utilities:
See INSTALL for build instructions.
The major version releases are time-based and follow the cycle of the linux kernel releases. The cycle usually takes 2 months. A minor version releases may happen in the meantime if there are queued bug fixes or minor useful improvements.
The patch submissions, development or general discussions take place at linux-btrfs@vger.kernel.org mailinglist, subsciption not required.