Userspace utilities to manage btrfs filesystems
Go to file
Eric Sandeen fb631862c9 btrfs-progs: fix fd leak in cmd_subvol_set_default
Rearrange cmd_subvol_set_default() slightly so we
don't have to close the fd on an error return.

While we're at it, fix whitespace & remove magic
return values.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
2013-02-27 14:40:05 +01:00
man btrfs-progs: require mkfs -f force option to overwrite filesystem or partition table 2013-02-19 11:15:31 +01:00
.gitignore Btrfs-progs: add static compile target 2013-02-12 15:22:55 +01:00
.hgignore
.hgtags
bcp Btrfs-progs: Correct path munging in bcp 2011-10-25 09:18:58 -04:00
btrfs-corrupt-block.c Add basic RAID[56] support 2013-02-01 14:22:07 -05:00
btrfs-defrag.c new util: 'btrfs' 2010-03-11 13:45:47 -05:00
btrfs-image.c btrfs-progs: fix mdresotre typo in function names 2013-02-05 16:09:41 -08:00
btrfs-list.c btrfs-progs: Tidy up resolve_root 2013-02-27 14:40:02 +01:00
btrfs-list.h btrfs-progs: btrfs_list_get_path_rootid error handling 2013-02-27 14:39:27 +01:00
btrfs-map-logical.c Add basic RAID[56] support 2013-02-01 14:22:07 -05:00
btrfs-select-super.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
btrfs-show-super.c btrfs-progs: don't call close on error fd 2013-02-27 14:39:45 +01:00
btrfs-show.c Deprecate btrfsctl, btrfs-show, btrfs-vol 2011-10-25 09:18:31 -04:00
btrfs-vol.c btrfs-progs: fix overflows of ioctl name args 2013-02-05 16:09:41 -08:00
btrfs-zero-log.c btrfs-progs: make sure btrfs-zero-log writes something 2011-11-21 10:27:17 -05:00
btrfs.c Btrfs-progs: add restore command to btrfs 2013-02-12 23:46:15 +01:00
btrfsctl.c btrfs-progs: simplify ioctl name copy and null termination 2013-02-05 16:09:41 -08:00
btrfstune.c btrfsprogs: btrfstune support for extended inode refs 2013-02-21 14:30:23 -05:00
calc-size.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
cmds-balance.c Btrfs-progs: make 0 a valid usage filter argument 2013-02-13 11:53:23 +01:00
cmds-check.c Btrfs-progs: add btrfsck functionality to btrfs 2013-02-12 19:09:47 +01:00
cmds-device.c btrfs-progs: Remove write-only var fdres in cmd_dev_stats() 2013-02-27 14:39:24 +01:00
cmds-filesystem.c btrfs-progs: move btrfslabel.[c|h] stuff to utils.[c|h] 2013-02-26 19:27:22 +01:00
cmds-inspect.c btrfs-progs: Fix pointer math in __ino_to_path_fd 2013-02-19 11:15:30 +01:00
cmds-qgroup.c btrfs-progs: close fd in qgroup show 2013-02-05 16:09:40 -08:00
cmds-quota.c Btrfs-progs: move open_file_or_dir() to utils.c 2013-01-30 00:40:35 +01:00
cmds-receive.c btrfs-progs: fix overflows of ioctl name args 2013-02-05 16:09:41 -08:00
cmds-replace.c btrfs-progs: free allocated di_args in cmd_start_replace 2013-02-27 14:39:53 +01:00
cmds-restore.c btrfs-progs: provide positive errno to strerror in cmd_restore 2013-02-27 14:39:48 +01:00
cmds-scrub.c btrfs-progs: more scrub cancel error handling 2013-02-27 14:39:39 +01:00
cmds-send.c btrfs-progs: initialize pipefd[] for error path 2013-02-05 16:09:41 -08:00
cmds-subvolume.c btrfs-progs: fix fd leak in cmd_subvol_set_default 2013-02-27 14:40:05 +01:00
commands.h Btrfs-progs: add restore command to btrfs 2013-02-12 23:46:15 +01:00
convert.c Add basic RAID[56] support 2013-02-01 14:22:07 -05:00
COPYING
crc32c.c Btrfs-progs: fix several complie warning 2012-10-04 16:26:31 -04:00
crc32c.h Btrfs-progs: fix several complie warning 2012-10-04 16:26:31 -04:00
ctree.c btrfs-progs: impossible BUG_ON meant to test empty 2013-02-05 16:09:39 -08:00
ctree.h Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit/btrfs-progs into merged 2013-02-06 12:51:58 -05:00
debug-tree.c Btrfs-progs: fix segmentation fault of 'btrfs-debug-tree -e' 2013-02-19 11:42:03 +01:00
dir-item.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
dir-test.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
disk-io.c btrfs-progs: free memory before error exit in read_whole_eb 2013-02-27 14:39:42 +01:00
disk-io.h Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit/btrfs-progs into merged 2013-02-06 12:51:58 -05:00
extent_io.c btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
extent_io.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
extent-cache.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
extent-cache.h Add semantic checks to btrfsck for files and directories 2009-01-07 14:57:12 -05:00
extent-tree.c Merge branch 'for-chris' of git://repo.or.cz/btrfs-progs-unstable/devel into raid56 2013-02-06 12:42:24 -05:00
file-item.c btrfs-progs: Improvement for making btrfs image from source directory. 2011-10-25 09:19:00 -04:00
find-root.c Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit/btrfs-progs into merged 2013-02-06 12:51:58 -05:00
hash.h
hasher.c
help.c Btrfs-progs: allow multi-line command group synopsis 2012-02-08 18:55:51 +02:00
inode-item.c
inode-map.c
INSTALL btrfs-progs-unstable: replace debug-tree to btrfs-debug-tree in INSTALL 2011-10-25 09:18:59 -04:00
ioctl-test.c Test the additional ioctl. 2011-10-25 09:18:58 -04:00
ioctl.h Btrfs-progs: Change the label of a mounted file system 2013-02-26 19:23:32 +01:00
kerncompat.h Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit/btrfs-progs into merged 2013-02-06 12:51:58 -05:00
list.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
Makefile btrfs-progs: move btrfslabel.[c|h] stuff to utils.[c|h] 2013-02-26 19:27:22 +01:00
mkfs.c btrfs-progs: require mkfs -f force option to overwrite filesystem or partition table 2013-02-19 11:15:31 +01:00
print-tree.c btrfs-progs: break after printing FREE_INO 2013-02-05 16:09:39 -08:00
print-tree.h Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
qgroup.c Btrfs-progs: clean up reduplicate parse_qgroupid() and replace atoi with strtoull 2013-01-21 18:28:01 +01:00
qgroup.h Btrfs-progs: clean up reduplicate parse_qgroupid() and replace atoi with strtoull 2013-01-21 18:28:01 +01:00
quick-test.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
radix-tree.c
radix-tree.h
raid6.c btrfs-progs: include kerncompat.h in raid6.c, define __attribute_const__ 2013-02-03 12:39:16 -05:00
random-test.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
rbtree.c
rbtree.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
repair.c Btrfsck: add the ability to prune corrupt extent allocation tree blocks 2012-02-21 14:37:21 -05:00
repair.h Btrfsck: add the ability to prune corrupt extent allocation tree blocks 2012-02-21 14:37:21 -05:00
root-tree.c btrfs-progs: code cleanup for root-tree.c/btrfs_del_root 2013-02-07 01:19:50 +01:00
send-stream.c btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA 2013-02-12 23:46:15 +01:00
send-stream.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
send-utils.c Btrfs-progs: bugfix for subvolume parent determination in btrfs send 2013-01-21 18:52:48 +01:00
send-utils.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
send.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
show-blocks Fix showblocks to display different colors for different metadata roots 2009-03-09 13:00:44 -04:00
transaction.h btrfs-progs: add malloc check in transaction.h/btrfs_start_transaction 2013-01-18 18:27:21 +01:00
utils.c btrfs-progs: move btrfslabel.[c|h] stuff to utils.[c|h] 2013-02-26 19:27:22 +01:00
utils.h btrfs-progs: move btrfslabel.[c|h] stuff to utils.[c|h] 2013-02-26 19:27:22 +01:00
version.sh version.sh: fix version when built from tarball 2013-01-17 18:13:03 +01:00
volumes.c btrfs-progs: avoid double-free in __btrfs_map_block 2013-02-27 14:39:31 +01:00
volumes.h Merge branch 'for-chris' of git://repo.or.cz/btrfs-progs-unstable/devel into raid56 2013-02-06 12:42:24 -05:00