index
:
kernel/git/mason/btrfs-progs.git
dangerdonteveruse
integration
integration-scrub
master
next
parser
raid56-experimental
recovery-beta
repair
Unnamed repository; edit this file 'description' to name the repository.
Chris Mason
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
utils.c
Age
Commit message (
Expand
)
Author
Files
Lines
2016-01-14
btrfs-progs: introduce helper for parsing args without options
David Sterba
1
-0
/
+28
2016-01-13
btrfs-progs: let test_isdir return the exact error
David Sterba
1
-8
/
+8
2016-01-12
btrfs-progs: check for negative return value from ioctl
David Sterba
1
-2
/
+2
2016-01-12
btrfs-progs: remove unnecessary errno temp variables
David Sterba
1
-7
/
+3
2016-01-12
btrfs-progs: use NULL instead of 0
Byongho Lee
1
-2
/
+2
2016-01-04
btrfs-progs: docs: mkfs, implications of DUP on devices
David Sterba
1
-1
/
+1
2015-11-26
btrfs-progs: mkfs: allow --data DUP for single device
Zhao Lei
1
-6
/
+4
2015-11-19
btrfs-progs: mkfs: use correct size for superblock csum and writeout
David Sterba
1
-4
/
+4
2015-11-16
btrfs-progs: fix fd leak in resolve_loop_device_with_loopdev
David Sterba
1
-5
/
+10
2015-11-16
btrfs-progs: utils: do not expect lo_file_name to be null terminated
David Sterba
1
-1
/
+2
2015-11-16
btrfs-progs: Fix partitioned loop devices resolving
Florian Margaine
1
-1
/
+30
2015-11-16
btrfs-progs: mkfs: handler memory allocation error in make_btrfs
David Sterba
1
-3
/
+5
2015-11-06
btrfs-progs: simplify empty stirngs check
David Sterba
1
-1
/
+1
2015-11-03
btrfs-progs: mkfs: Round device size down to sectorsize
Zhao Lei
1
-0
/
+2
2015-11-03
btrfs-progs: Rename variables in btrfs_add_to_fsid
Zhao Lei
1
-5
/
+5
2015-11-02
btrfs-progs: fix missing initialization of list head for dev_list
Anand Jain
1
-0
/
+1
2015-11-02
Btrfs-progs: Do not force mixed block group creation unless '-M' option is sp...
Chandan Rajendra
1
-4
/
+1
2015-11-02
btrfs-progs: move is_numerical() helper to utils and rename
Anand Jain
1
-0
/
+11
2015-11-02
btrfs-progs: use btrfs_open_dir in open_path_or_dev_mnt
Zhao Lei
1
-10
/
+11
2015-10-02
btrfs-progs: fix is_block_device() return checks
Anand Jain
1
-3
/
+4
2015-10-02
btrfs-progs: make sure that is_block_device will return only 0/1
David Sterba
1
-1
/
+1
2015-10-02
btrfs-progs: utils: Check nodesize against features
Qu Wenruo
1
-1
/
+7
2015-10-02
btrfs-progs: provide fail safe for BTRFS_IOC_GET_FSLABEL ioctl
Anand Jain
1
-9
/
+9
2015-09-14
btrfs-progs: cleanup, update function definitions to be ANSI conformant
David Sterba
1
-1
/
+1
2015-09-02
btrfs-progs: handle errors in btrfs_wipe_existing_sb
David Sterba
1
-11
/
+28
2015-08-31
btrfs-progs: Introduce get_unit_mode_from_arg for common use
Zhao Lei
1
-0
/
+102
2015-08-31
btrfs-progs: add memory allocation fail check in btrfs_add_to_fsid()
Byongho Lee
1
-8
/
+12
2015-08-31
btrfs-progs: Introduce btrfs_open_dir wrapper
Zhao Lei
1
-0
/
+56
2015-07-14
btrfs-progs: utils: missing newline in error messages when checking dup
David Sterba
1
-1
/
+1
2015-07-01
btrfs-progs: drop unused parameter from make_btrfs
David Sterba
1
-1
/
+1
2015-07-01
btrfs-progs: move make_btrfs arguments to a struct
David Sterba
1
-77
/
+77
2015-06-12
btrfs-progs: add helper for copying paths
David Sterba
1
-0
/
+19
2015-06-12
btrfs-progs: properly set up ioctl arguments
David Sterba
1
-2
/
+2
2015-06-12
btrfs-progs: use PATH_MAX instead of BTRFS_PATH_NAME_MAX
David Sterba
1
-2
/
+2
2015-06-11
btrfs-progs: use less memory for pretty_size_mode buffers
David Sterba
1
-0
/
+18
2015-06-11
btrfs-progs: print error within test_num_disk_vs_raid
David Sterba
1
-10
/
+9
2015-06-11
btrfs-progs: print error within test_dev_for_mkfs
David Sterba
1
-13
/
+13
2015-06-09
btrfs-progs: cleanup after errors in open_file_or_dir3
David Sterba
1
-1
/
+3
2015-06-09
btrfs-progs: fix argv0_buf handling
David Sterba
1
-0
/
+5
2015-06-08
btrfs-progs: return the fsid from make_btrfs()
Goffredo Baroncelli
1
-1
/
+6
2015-06-08
btrfs-progs: add strdup in btrfs_add_to_fsid() to track the device path
Goffredo Baroncelli
1
-0
/
+1
2015-06-08
btrfs-progs: mkfs: move info message out of btrfs_add_to_fsid
David Sterba
1
-3
/
+0
2015-06-04
btrfs-progs: add function to stringify filesystem features
David Sterba
1
-0
/
+15
2015-06-02
btrfs-progs: mkfs: check metadata redundancy
Sam Tygier
1
-0
/
+18
2015-05-14
btrfs-progs: btrfs_scan_block_devices is unused function delete it
Anand Jain
1
-88
/
+0
2015-04-07
btrfs-progs: print fs features filtered by a mask
David Sterba
1
-2
/
+4
2015-04-07
btrfs-progs: move feature parsing from mkfs to utils
David Sterba
1
-0
/
+88
2015-04-07
btrfs-progs: mkfs, deprecate leafsize and clean up the code
David Sterba
1
-48
/
+48
2015-03-24
btrfs-progs: Allow parse_qgroupid() to resolve subvolume path into qgroupid
Qu Wenruo
1
-4
/
+44
2015-03-24
btrfs-progs: Move parse_qgroupid() to utils.c
Qu Wenruo
1
-0
/
+28
2015-03-23
btrfs-progs: Fix msgs in check_node_or_leaf_size
Sebastian Thorarensen
1
-3
/
+3
2015-03-23
btrfs-progs: mkfs: Move out some nodesize code
Sebastian Thorarensen
1
-0
/
+21
2015-01-27
btrfs-progs: don't output operational status information to stderr
Xing Gu
1
-1
/
+1
2015-01-27
btrfs-progs: drop feature defines from C files, in favour of CFLAGS defines
Dimitri John Ledkov
1
-4
/
+0
2015-01-09
btrfs-progs: Fix a buffer overflow causing segfault in fstests/btrfs/069
Qu Wenruo
1
-0
/
+17
2015-01-09
btrfs-progs: Allow debug-tree to be executed on regular file.
Qu Wenruo
1
-4
/
+17
2015-01-03
btrfs-progs: safely copy path in btrfs_scan_lblkid
David Sterba
1
-1
/
+1
2015-01-03
btrfs-progs: cleanup whitespace in is_same_blk_file
David Sterba
1
-11
/
+7
2015-01-03
btrfs-progs: use strncpy in is_same_blk_file
David Sterba
1
-3
/
+3
2014-12-29
btrfs-progs: move check_arg_type() to util.c
Gui Hecheng
1
-0
/
+33
2014-12-10
btrfs-progs: basic support for TREE_SEARCH_V2 ioctl
David Sterba
1
-0
/
+40
2014-12-04
btrfs-progs: fix wrong num_devices for btrfs fi show with seed devices
Gui Hecheng
1
-0
/
+76
2014-12-04
btrfs-progs: remove BUG_ON on num of devices for btrfs fi show
Gui Hecheng
1
-1
/
+0
2014-12-04
btrfs-progs: provide better error message for raid profile mismatch
Hidetoshi Seto
1
-6
/
+35
2014-12-04
btrfs-progs: Add command btrfs filesystem disk-usage
Goffredo Baroncelli
1
-0
/
+16
2014-12-04
btrfs-progs: Enhance the command btrfs filesystem df
Goffredo Baroncelli
1
-0
/
+11
2014-12-04
btrfs-progs: move group type and profile pretty printers to utils
David Sterba
1
-0
/
+44
2014-11-18
btrfs-progs: use proper size for argv0 substitution
David Sterba
1
-1
/
+2
2014-11-04
btrfs-progs: use the correct SI prefixes
David Sterba
1
-1
/
+1
2014-11-03
btrfs-progs: optimize btrfs_scan_lblkid() for multiple calls
Anand Jain
1
-4
/
+10
2014-11-03
btrfs-progs: introduce btrfs_register_all_device()
Anand Jain
1
-0
/
+27
2014-11-03
revert btrfs-progs: do a separate probe for _transient_ replacing device
Anand Jain
1
-18
/
+1
2014-11-03
btrfs-progs: code optimize cmd_scan_dev() use btrfs_register_one_device()
Anand Jain
1
-3
/
+5
2014-10-17
Btrfs-progs: check, ability to detect and fix outdated snapshot root items
Filipe Manana
1
-0
/
+21
2014-10-16
btrfs-progs: check sscanf return code
Zach Brown
1
-1
/
+6
2014-10-16
btrfs-progs: open RW to register device using btrfs-control
Anand Jain
1
-1
/
+1
2014-10-10
btrfs-progs: add options to tune units for fi df output
David Sterba
1
-12
/
+40
2014-10-10
btrfs-progs: Remove extra 'const' modifiers; they don't do anything.
Adam Buchbinder
1
-3
/
+3
2014-10-10
btrfs-progs: extend pretty printers with unit mode
David Sterba
1
-22
/
+49
2014-10-10
btrfs-progs: print B for bytes
David Sterba
1
-1
/
+1
2014-10-10
btrfs-progs: do a separate probe for transient replacing device
Anand Jain
1
-1
/
+18
2014-10-10
btrfs-progs: remove scan_for_btrfs()
Anand Jain
1
-15
/
+0
2014-10-10
btrfs-progs: remove BTRFS_SCAN_PROC scan method
Anand Jain
1
-4
/
+2
2014-10-10
btrfs-progs: force overwrite should wipe stale SB
Anand Jain
1
-0
/
+38
2014-10-10
btrfs-progs: remove BTRFS_SCAN_DEV and btrfs_scan_one_dir
Eric Sandeen
1
-114
/
+0
2014-10-10
btrfs-progs: don't fall back to recursive /dev scan
Eric Sandeen
1
-11
/
+1
2014-09-14
btrfs-progs: fix find_mount_root() to handle duplicated mount point correctly
Qu Wenruo
1
-2
/
+2
2014-09-02
Btrfs-progs: fix typos
Holger Hoffstätte
1
-1
/
+1
2014-08-22
btrfs-progs: move test_isdir() to utils.c
Satoru Takeuchi
1
-0
/
+19
2014-08-22
btrfs-progs: introduce test_issubvolname() for simplicity
Satoru Takeuchi
1
-0
/
+12
2014-08-22
btrfs-progs: fix improper return value check for is_existing_blk_or_reg_file
Gui Hecheng
1
-6
/
+13
2014-08-22
Btrfs-progs: fix some build warnings on 32bit platform
Wang Shilong
1
-1
/
+1
2014-08-22
btrfs-progs: Check fstype in find_mount_root()
Qu Wenruo
1
-0
/
+11
2014-08-22
btrfs-progs: Remove fprintf() in find_mount_root().
Qu Wenruo
1
-5
/
+1
2014-08-22
btrfs-progs: fix wrong message about forcing the mixed group profile
Anand Jain
1
-3
/
+1
2014-08-22
btrfs-progs: mkfs: don't zero extend small files
Zach Brown
1
-38
/
+20
2014-08-22
btrfs-progs: define BTRFS_MKFS_SMALL_VOLUME_SIZE for small volume
Anand Jain
1
-2
/
+2
2014-08-22
btrfs-progs: Allow btrfs_read_dev_super() to read all 3 super for super_recover.
Qu Wenruo
1
-5
/
+6
2014-08-22
btrfs-progs: move the check_argc_* functions into utils.c
Gui Hecheng
1
-0
/
+46
2014-08-22
btrfs-progs: Add minimum device size check
Qu Wenruo
1
-0
/
+20
2014-08-22
btrfs-progs: Improve the parse_size() error message
Qu Wenruo
1
-16
/
+54
2014-08-22
btrfs-progs: canonicalize pathnames for device commands
Jeff Mahoney
1
-0
/
+58
2014-08-22
btrfs-progs: mkfs: allow UUID specification at mkfs time
Eric Sandeen
1
-3
/
+45
2014-05-02
btrfs-progs: move arg_strtou64 to a separate file for library
David Sterba
1
-33
/
+0
2014-05-02
Btrfs-progs: mkfs: Remove 'zero_end =1' since it has been set to a value
Li Yang
1
-1
/
+0
2014-05-02
Btrfs-progs: allow compression property gets for read-only subvolumes
Filipe David Borba Manana
1
-2
/
+7
2014-05-02
Btrfs-progs: fix check to test trim support
Rakesh Pandit
1
-1
/
+1
2014-04-04
btrfs-progs: make device discard process interruptible
David Sterba
1
-2
/
+24
2014-03-21
btrfs-progs: Fix a memleak in btrfs_scan_lblkid().
Qu Wenruo
1
-0
/
+1
2014-03-21
btrfs-progs: Fix bug when scanned for devid which was missing and deleted
Anand Jain
1
-2
/
+9
2014-03-21
btrfs-progs: latest_devid is not always the probed devid
Anand Jain
1
-2
/
+16
2014-03-21
btrfs-progs: there is devid 0 when replace is running
Anand Jain
1
-1
/
+1
2014-03-21
btrfs-progs: Allow use of get_device_info()
Goffredo Baroncelli
1
-1
/
+1
2014-03-21
btrfs-progs: fix wrong error msg for exec btrfsck as non-root
Gui Hecheng
1
-1
/
+1
2014-03-21
Btrfs-progs: new helper to parse string to u64 for btrfs
Wang Shilong
1
-0
/
+33
2014-03-21
btrfs-progs: move find_mount_root to utils.[ch]
Qu Wenruo
1
-0
/
+48
2014-03-21
btrfs-progs: fix typo in reported error
Anand Jain
1
-2
/
+2
2014-01-31
btrfs-progs: test_skip_this_disk() isn't needed anymore
Anand Jain
1
-17
/
+0
2014-01-31
btrfs-progs: handle error in the btrfs_prepare_device
Anand Jain
1
-11
/
+20
2014-01-31
Btrfs-progs: make sure we are opening a file or dir with open_file_or_dir()
Wang Shilong
1
-3
/
+10
2014-01-31
btrfs-progs: Make btrfs_header_chunk_tree_uuid() return unsigned long
Ross Kirk
1
-1
/
+1
2014-01-31
Btrfs-progs: let get_label return the label instead of printing it
Filipe David Borba Manana
1
-9
/
+6
2014-01-31
btrfs-progs: make it static if function isn't called outside
Anand Jain
1
-1
/
+1
2014-01-31
btrfs-progs: use /proc/self/mounts
Anand Jain
1
-1
/
+1
2014-01-31
btrfs-progs: fix loop device mount checks
David Sterba
1
-15
/
+21
2013-11-07
btrfs-progs: annotate fallthroughs in parse_size
Eric Sandeen
1
-0
/
+6
2013-11-07
btrfs-progs: check btrfs_scan_one_device in btrfs_scan_lblkid()
Eric Sandeen
1
-1
/
+8
2013-11-07
btrfs-progs: Check for open failure in btrfs_scan_lblkid()
Eric Sandeen
1
-1
/
+5
2013-11-07
btrfs-progs: fix leak of "buf" in make_btrfs() error paths
Eric Sandeen
1
-30
/
+32
2013-11-07
btrfs-progs: don't leak fd in test_dev_for_mkfs() error paths
Eric Sandeen
1
-0
/
+2
2013-11-07
btrfs-progs: use strncpy in btrfs_scan_lblkid()
Eric Sandeen
1
-1
/
+1
2013-11-07
Btrfs-progs: rework open_ctree to take flags, add a new one V2
Josef Bacik
1
-1
/
+1
2013-10-24
Btrfs-progs: make pretty_sizes take u64 instead of a double
Josef Bacik
1
-1
/
+1
2013-10-24
btrfs-progs: filesystem show of specified mounted disk should work
Anand Jain
1
-1
/
+26
2013-10-24
btrfs-progs: make get_btrfs_mount callable
Anand Jain
1
-4
/
+2
2013-10-16
btrfs-progs: use the marco BTRFS_UPDATE_KERNEL where needed
Anand Jain
1
-1
/
+1
2013-10-16
Btrfs-progs: make pretty_size_snprintf() return len
Wang Shilong
1
-4
/
+5
2013-10-16
btrfs-progs: create helper function to use lblkid to scan for btrfs disks
Anand Jain
1
-0
/
+55
2013-10-16
btrfs-progs: Make btrfs_header_fsid() return unsigned long
Ross Kirk
1
-2
/
+2
2013-10-16
btrfs-progs: check if device supports trim
David Sterba
1
-5
/
+8
2013-10-16
btrfs-progs: look up the containing tree root id
David Sterba
1
-0
/
+30
2013-10-16
btrfs-progs: remove unused parameter from btrfs_header_fsid
Ross Kirk
1
-1
/
+1
2013-10-16
btrfs-progs: drop unused parameter from btrfs_item_nr
Ross Kirk
1
-18
/
+18
2013-10-16
Btrfs-progs: move ask_user() to utils.c
Wang Shilong
1
-0
/
+18
2013-10-16
Btrfs-progs: do not run ioctls in check_mounted_where()
Wang Shilong
1
-1
/
+1
2013-10-16
btrfs-progs: add nodiscard option to device add
David Sterba
1
-0
/
+2
2013-10-16
btrfs-progs: use better name for nodiscard variable and flip the logic
David Sterba
1
-2
/
+2
2013-10-16
btrfs-progs: free the local list pending_list in btrfs_scan_one_dir
Gui Hecheng
1
-2
/
+8
2013-10-16
btrfs-progs: mkfs should check for small vol well before
Anand Jain
1
-0
/
+29
2013-10-16
btrfs-progs: avoid write to the disk before sure to create fs
Anand Jain
1
-0
/
+41
2013-09-03
Btrfs-progs: mkfs can now create fs with skinny extents
Filipe David Borba Manana
1
-7
/
+19
2013-09-03
btrfs-progs: remove __CHECKER__ from main code
Zach Brown
1
-7
/
+0
2013-09-03
btrfs-progs: mark static & remove unused from non-kernel code
Eric Sandeen
1
-9
/
+11
2013-09-03
Btrfs-progs: fix a regression in mkfs.btrfs
Stefan Behrens
1
-1
/
+1
2013-09-03
btrfs-progs: cmd_start_replace() to use test_dev_for_mkfs()
Anand Jain
1
-0
/
+10
2013-09-03
btrfs-progs: drop unused parameter from btrfs_release_path
Eric Sandeen
1
-1
/
+1
2013-09-03
btrfs-progs: don't have to report ENOMEDIUM error during open
Anand Jain
1
-2
/
+3
2013-08-09
btrfs-progs: get_label_mounted to return label instead of print
Anand Jain
1
-5
/
+13
2013-08-09
btrfs-progs: congregate dev scan
Anand Jain
1
-2
/
+20
2013-08-09
btrfs-progs: btrfs_scan_for_fsid doesn't need all the arguments
Anand Jain
1
-3
/
+2
2013-08-09
Btrfs-progs: fix closing of opendir()
Wang Shilong
1
-14
/
+21
2013-08-09
btrfs-progs: use IEC units for sizes
David Sterba
1
-2
/
+1
2013-08-09
Btrfs-progs: return error on write failure in make_btrfs()
Filipe David Borba Manana
1
-8
/
+28
2013-08-09
Btrfs-progs: add missing write check for mkfs
Filipe David Borba Manana
1
-0
/
+2
2013-08-09
btrfs-progs: per-thread, per-call pretty buffer
Zach Brown
1
-9
/
+10
2013-08-09
btrfs-progs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert
Qu Wenruo
1
-2
/
+2
2013-05-02
btrfs-progs: mkfs seg fault for wrong free
Anand Jain
1
-1
/
+1
2013-04-23
btrfs-progs: mkfs should first check all disks before writing to a disk
Anand Jain
1
-0
/
+128
2013-04-23
btrfs-progs: delete unused function get_mountpt
Anand Jain
1
-35
/
+0
2013-04-09
Btrfs-progs: make btrfs-image restore with a valid chunk tree V2
Josef Bacik
1
-2
/
+2
2013-03-14
btrfs-progs: print errno string when /dev/btrfs-control open fails
Anand Jain
1
-1
/
+2
2013-03-12
btrfs-progs: rework get_fs_info to remove side effects
Eric Sandeen
1
-19
/
+56
2013-03-12
btrfs-progs: three new device/path helpers
Eric Sandeen
1
-0
/
+87
2013-03-12
btrfs-progs: close fd on return from label get/set functions
Eric Sandeen
1
-0
/
+2
2013-03-10
btrfs-progs: separate super_copy out of fs_info
David Sterba
1
-5
/
+5
2013-03-10
btrfs-progs: check for null string in parse_size
Eric Sandeen
1
-1
/
+1
2013-03-03
btrfs-progs: from troubleshooting point of view messages must be unique
Anand Jain
1
-1
/
+1
2013-02-27
Btrfs-progs: add correct indentation
Anand Jain
1
-6
/
+7
2013-02-26
btrfs-progs: move btrfslabel.[c|h] stuff to utils.[c|h]
Jeff Liu
1
-0
/
+130
2013-02-26
btrfs-progs: refactor check_label()
Jeff Liu
1
-10
/
+4
2013-02-19
Btrfs-progs: check out if the swap device
Tsutomu Itoh
1
-0
/
+75
2013-02-06
Btrfs-progs print more informative error when we fail to open a device
Eric Sandeen
1
-1
/
+2
2013-02-05
btrfs-progs: simplify ioctl name copy and null termination
Eric Sandeen
1
-0
/
+20
2013-02-05
btrfs-progs: fix overflow in btrfs_scan_one_dir()
Zach Brown
1
-6
/
+4
2013-02-05
btrfs-progs: array indexes must be < ARRAY_SIZE()
Zach Brown
1
-1
/
+1
2013-02-05
btrfs-progs: treat super.magic as an le64
Zach Brown
1
-3
/
+2
2013-01-30
Btrfs-progs: make two utility functions globally available
Stefan Behrens
1
-0
/
+67
2013-01-30
Btrfs-progs: move open_file_or_dir() to utils.c
Anand Jain
1
-2
/
+28
2013-01-21
Btrfs-progs: fix resolving of loop devices
Nirbheek Chauhan
1
-12
/
+14
2013-01-18
Ignore the error ENXIO and ENOMEDIUM during a devs scan
Goffredo Baroncelli
1
-2
/
+8
2013-01-17
btrfs-progs: plug memory leaks in btrfs_scan_one_dir() reported by cppcheck.
Kenji Okimoto
1
-0
/
+3
2013-01-17
parse_size(): add new suffixes
Goffredo Baroncelli
1
-0
/
+6
2013-01-17
parse_size(): replace atoll() with strtoull()
Goffredo Baroncelli
1
-6
/
+19
2013-01-17
Move parse_size() to utils.[hc]
Goffredo Baroncelli
1
-0
/
+26
2012-10-04
pretty_sizes() returns incorrect values
Goffredo Baroncelli
1
-14
/
+16
2012-10-02
Btrfs-progs: only enforce a maximum size if we specify one
Josef Bacik
1
-9
/
+3
2012-10-02
btrfs-progs: mkfs: create root directory with 755 permissions
David Sterba
1
-1
/
+1
2012-07-06
btrfs-progs: mkfs: add option to skip trim
David Sterba
1
-5
/
+13
2012-07-03
btrfs-progs: enforce block count on all devices in mkfs
Josef Bacik
1
-0
/
+2
2012-06-05
avoid several strncpy-induced buffer overruns
Jim Meyering
1
-3
/
+10
[next]