aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-check.c
AgeCommit message (Expand)AuthorFilesLines
2016-01-12btrfs-porgs: check: rename variable to avoid shadowingDavid Sterba1-4/+4
2016-01-12btrfs-progs: check the free space tree in btrfsckOmar Sandoval1-5/+30
2016-01-12btrfs-progs: handler memory allocation failure in add_extent_recDavid Sterba1-0/+2
2016-01-12btrfs-progs: catch memory allocation failure from alloc_data_backrefDavid Sterba1-1/+6
2016-01-12btrfs-progs: catch memory allocation failure from alloc_tree_backrefDavid Sterba1-1/+6
2016-01-12btrfs-progs: catch memory allocation failure in splice_shared_nodeDavid Sterba1-0/+1
2016-01-12btrfs-progs: handle errors in get_inode_backref and fail in the callerDavid Sterba1-0/+3
2016-01-12btrfs-progs: handle errors in get_root_backref and fail in the callerDavid Sterba1-0/+3
2016-01-12btrfs-progs: return errors from get_root_rec, fail in callersDavid Sterba1-1/+8
2016-01-12btrfs-progs: handle errors in add_shared_node and fail in the callerDavid Sterba1-3/+7
2016-01-12btrfs-progs: return errors from clone_inode_rec, fail in callersDavid Sterba1-2/+30
2016-01-12btrfs-progs: return errors from get_inode_rec, fail in callersDavid Sterba1-1/+15
2016-01-12btrfs-progs: check, properly reset nlink of multi-linked fileNaohiro Aota1-2/+3
2015-11-26btrfs-progs: fsck: Fix a false alert where extent record has wrong metadata flagQu Wenruo1-0/+4
2015-11-06btrfs-progs: don't print version info from embedded subcommandsDavid Sterba1-1/+0
2015-11-02btrfs-progs: Remove all btrfs_close_all_devices in sub-commandZhao Lei1-1/+0
2015-11-02btrfs-progs: remove identical branch in record_extent()Eryu Guan1-2/+0
2015-11-02btrfs-progs: save and return error number correctly in check_chunks_and_extentsEryu Guan1-7/+6
2015-10-21btrfs-progs: check: update help textDavid Sterba1-4/+10
2015-10-21btrfs-progs: use calloc instead of malloc+memsetSilvio Fricke1-9/+4
2015-10-21btrfs-progs: check: add progress indicatorSilvio Fricke1-4/+90
2015-10-19btrfs-progs: fsck: Add check for extent and parent chunk typeQu Wenruo1-1/+67
2015-10-02btrfs-progs: check: fix memset rangeSilvio Fricke1-1/+1
2015-09-14btrfs-progs: cleanup, mark more functions staticDavid Sterba1-1/+1
2015-08-31btrfs-progs: add newline to some error messagesTsutomu Itoh1-2/+2
2015-08-31btrfs-progs: close all fs_devices before exit in some commandsZhao Lei1-0/+1
2015-08-31btrfs-progs: Add initialztion of rec->crossing_stripesZhao Lei1-0/+1
2015-08-31btrfs-progs: cleanup: remove unnecessary check before btrfs_free_path is calledTsutomu Itoh1-2/+1
2015-08-31btrfs-progs: fsck: fix a infinite loop on discount file extent repairQu Wenruo1-0/+9
2015-08-31btrfs-progs: fsck: print correct file holeQu Wenruo1-1/+6
2015-08-31btrfs-progs: fsck: Check if a metadata tree block crossing stripe boundaryQu Wenruo1-1/+27
2015-07-03btrfs-progs: fsck: Add repair function for I_ERR_FILE_WRONG_NBYTESQu Wenruo1-1/+37
2015-06-17btrfs-progs: export read_extent_data functionQu Wenruo1-34/+0
2015-05-14btrfs-progs: fsck: Fix a shallow copy which will leads to segfault.Qu Wenruo1-0/+5
2015-04-24btrfs-progs: check: fix compile warnings in del_file_extent_holeDavid Sterba1-8/+10
2015-04-08btrfs-progs: getopt, use symbolic name for argument requirementsDavid Sterba1-10/+10
2015-04-08btrfs-progs: cleanup option index argument from getopt_longDavid Sterba1-3/+1
2015-02-27btrfs-progs: Make csum tree rebuild works with extent tree rebuild.Qu Wenruo1-3/+155
2015-02-24btrfs-progs: Fix a infinite loop when fixing nlink if file name conflicts twice.Qu Wenruo1-2/+11
2015-02-09Btrfs-progs: fix bad extent flagJosef Bacik1-102/+159
2015-02-09Btrfs-progs: unpin excluded extents as we fix thingsJosef Bacik1-1/+11
2015-02-09Btrfs-progs: remove global transaction from fsckJosef Bacik1-100/+130
2015-02-09Btrfs-progs: Introduce metadump_v2Josef Bacik1-2/+7
2015-02-09Btrfs-progs: don't check csums for data reloc rootJosef Bacik1-1/+10
2015-02-09Btrfs-progs: don't try to repair reloc rootsJosef Bacik1-0/+2
2015-02-09Btrfs-progs: handle -eagain properlyJosef Bacik1-29/+64
2015-02-09btrfs-progs: deal with no extent infoJosef Bacik1-24/+19
2015-02-02btrfs-progs: read_tree_block() and read_node_slot() cleanup.Qu Wenruo1-3/+3
2015-02-02btrfs-progs: Add repair function for discount file extent hole.Qu Wenruo1-11/+40
2015-02-02btrfs-progs: Add repair and report function for orphan file extent.Qu Wenruo1-31/+129
2015-02-02btrfs-progs: Record and report every file extent hole.Qu Wenruo1-13/+231
2015-02-02btrfs-progs: Record orphan data extent ref to corresponding root.Qu Wenruo1-8/+147
2015-01-28btrfs-progs: autoconf: use standard PACKAGE_* macrosKarel Zak1-2/+1
2015-01-27btrfs-progs: check: Add --readonly flagHugo Mills1-1/+12
2015-01-27btrfs-progs: Make option parsing more robust to code modificationsHugo Mills1-22/+27
2015-01-27btrfs-progs: drop feature defines from C files, in favour of CFLAGS definesDimitri John Ledkov1-2/+0
2015-01-19btrfs-progs: make getopt tables static constDavid Sterba1-1/+1
2015-01-19btrfs-progs: cleanup, move getop long options close to their useDavid Sterba1-14/+14
2015-01-09btrfs-progs: Don't increase error count if the inode can be repaired.Qu Wenruo1-2/+3
2015-01-09btrfs-progs: Fix a extent buffer leak in count_csum_range().Qu Wenruo1-1/+1
2015-01-03btrfs-progs: fix leak of path in reset_balanceDavid Sterba1-1/+2
2015-01-03btrfs-progs: check, handle error in fix_key_orderDavid Sterba1-1/+1
2014-12-30btrfs-progs: check, missing parens around compound block in find_normal_file_...David Sterba1-1/+2
2014-12-30btrfs-progs: check, fix path leak in error branchDavid Sterba1-2/+3
2014-12-29btrfs-progs: Fix a bug in reset_nlink() which may deletes the recovered fileQu Wenruo1-0/+5
2014-12-19btrfs-progs: check result of first_cache_extentDavid Sterba1-0/+2
2014-12-10Btrfs-progs, fsck: move root items repair after root rebuildingWang Shilong1-16/+16
2014-12-10Btrfs-progs: fsck: add ability to rebuild extent tree with snapshotsWang Shilong1-3/+129
2014-12-10Btrfs-progs: fsck: deal with snapshot one by one when rebuilding extent treeWang Shilong1-90/+158
2014-12-10btrfs-progs: Add inode item rebuild function.Qu Wenruo1-4/+156
2014-12-10btrfs-progs: Recover btree by dropping corrupted leaf/node.Qu Wenruo1-0/+102
2014-12-10btrfs-progs: record and report leaf/node corruption in fs/subvol treeQu Wenruo1-10/+50
2014-12-10btrfs-progs: Add fixing function for inodes whose nlink dismatchQu Wenruo1-4/+189
2014-12-10btrfs-progs: Add helper function find_file_name/type for nlink and inode_item...Qu Wenruo1-0/+41
2014-12-10btrfs-progs: Add btrfs_unlink() and btrfs_add_link() functions.Qu Wenruo1-6/+1
2014-12-10btrfs-progs: Record highest inode number before repair.Qu Wenruo1-0/+15
2014-12-04Btrfs-progs: allow fsck to take the tree bytenrJosef Bacik1-2/+9
2014-12-04btrfs-progs: rebuild missing block group during chunk recovery if possibleQu Wenruo1-11/+18
2014-12-04btrfs-progs: print root dir verbose error in fsckQu Wenruo1-0/+1
2014-11-14Btrfs-progs: create missing root diridJosef Bacik1-0/+20
2014-11-14Btrfs-progs: fix missing inode itemsJosef Bacik1-0/+76
2014-11-14Btrfs-progs: add ability to replace missing dir item/dir indexesJosef Bacik1-0/+27
2014-11-03btrfs-progs: Fix the argument requirement for '--subvol-extents'Qu Wenruo1-2/+2
2014-10-17Btrfs-progs: check, ability to detect and fix outdated snapshot root itemsFilipe Manana1-0/+356
2014-10-16Btrfs-progs: check, fix return value check of is_child_root()Filipe Manana1-1/+9
2014-10-14Btrfs-progs: lookup all roots that point to a corrupt blockJosef Bacik1-73/+70
2014-10-14btrfs-progs: make fsck deal with bogus itemsJosef Bacik1-0/+45
2014-10-14btrfs-progs: check blocks when checking fs rootsJosef Bacik1-0/+21
2014-10-14btrfs-progs: add the ability to fix shifted item offsetsJosef Bacik1-13/+108
2014-10-14Btrfs-progs: deal with mismatch index between dir index and inode refJosef Bacik1-3/+6
2014-10-14Btrfs-progs: add a dummy backref if our location is wrongJosef Bacik1-1/+7
2014-10-14Btrfs-progs: delete bogus dir indexesJosef Bacik1-18/+119
2014-10-14Btrfs-progs: re-search tree root if it changesJosef Bacik1-1/+8
2014-10-14Btrfs-progs: reset chunk state if we restart checkJosef Bacik1-1/+12
2014-10-14Btrfs-progs: break out rbtree util functionsJosef Bacik1-0/+1
2014-10-13Btrfs-progs: repair missing dir indexJosef Bacik1-2/+119
2014-10-10btrfs-progs: check: do not dereference tree_refs as data_refsAlexandre Oliva1-7/+12
2014-10-10btrfs-progs: repair: remove recowed entry from the to-recow listAlexandre Oliva1-0/+1
2014-10-10Btrfs-progs: fsck: deal with corrupted csum rootWang Shilong1-0/+5
2014-10-10Btrfs-progs: fsck: only allow partial opening under repair modeWang Shilong1-2/+5
2014-10-10btrfs-progs: Check the consistence between the parent node and child node/leaf.Qu Wenruo1-0/+55
2014-10-10btrfs-progs: rebuild the crc tree with --init-csum-treeJosef Bacik1-0/+98
2014-10-10btrfs-progs: check, fix csum check in the presence of non-inlined refsFilipe David Borba Manana1-11/+27
2014-10-10btrfs-progs: fsck: add ability to check reloc rootsWang Shilong1-7/+26
2014-10-10btrfs-progs: fsck: finish transaction commit if repair error outWang Shilong1-1/+1
2014-10-10btrfs-progs: fsck: remove unfriendly BUG_ON() for searching tree failureWang Shilong1-26/+58
2014-10-10btrfs-progs: fsck: clear out log tree in repair modeWang Shilong1-0/+33
2014-10-10btrfs-progs: fsck: avoid pinning same block several timesWang Shilong1-0/+9
2014-10-01btrfs-progs: Check the csum tree node before go through the csum treeQu Wenruo1-0/+4
2014-10-01btrfs-progs: add root to dirty list when fixing bad keysJosef Bacik1-12/+15
2014-09-14btrfs-progs: kill BUG_ON in readahead_tree_block()Zach Brown1-4/+1
2014-08-22btrfs-progs: check: do not require argument for --subvol-extentsDavid Sterba1-1/+1
2014-08-22btrfs-progs: use check_argc_* to check arg number for all toolsGui Hecheng1-1/+1
2014-08-22btrfs-progs: show extent state for a subvolumeMark Fasheh1-0/+12
2014-08-22Btrfs-progs: fsck: reduce memory usage for extents checkWang Shilong1-0/+2
2014-08-22btrfs-progs: check: Fix wrong level accessHugo Mills1-4/+6
2014-08-22Btrfs-progs: fsck: switch to is_fstree()Wang Shilong1-6/+3
2014-08-22Btrfs-progs: fsck: add an option to check data csumsWang Shilong1-4/+121
2014-08-22btrfs-progs: add quota group verify codeMark Fasheh1-0/+24
2014-05-02Btrfs-progs: make smatch checker happy (trivial fixes)Rakesh Pandit1-2/+2
2014-05-02Btrfs-progs: fsck: while checking root refs print readable errorsRakesh Pandit1-2/+3
2014-04-11Btrfs-progs: update btrfs_file_extent_inline_len to match kernel versionFilipe David Borba Manana1-1/+1
2014-04-11Btrfs-progs: fsck: fix wrong index in pick_next_pending()Wang Shilong1-1/+1
2014-04-11Btrfs-progs: fsck: reduce memory usage of extent record structWang Shilong1-3/+3
2014-04-11Btrfs-progs: fsck: fix possible memory leaks in run_next_block()Wang Shilong1-0/+3
2014-04-11Btrfs-progs: fsck: don't free @seen cache until we finish searchingWang Shilong1-6/+1
2014-03-21Btrfs-progs: fsck: fix memory leak and unnecessary call to freeRakesh Pandit1-1/+1
2014-03-21Btrfs-progs: fsck: handle case that we can not lookup extent infoWang Shilong1-10/+26
2014-03-21Btrfs-progs: fsck: force to udate tree root for some casesWang Shilong1-1/+22
2014-03-21Btrfs-progs: fsck: insert root dir into reloc data tree when reiniting itWang Shilong1-1/+8
2014-03-21Btrfs-progs: fsck: reset balance after reiniting extent rootWang Shilong1-7/+5
2014-03-21Btrfs-progs: fsck: deal with really corrupted extent treeWang Shilong1-0/+13
2014-03-21Btrfs-progs: record generation for tree blocks in fsckJosef Bacik1-7/+25
2014-03-21Btrfs-progs: fsck: fix wrong return value in check_block()Wang Shilong1-1/+1
2014-03-21Btrfs-progs: fsck: avoid overwritting existed space when initting csum treeWang Shilong1-42/+32
2014-03-21Btrfs-progs: switch to arg_strtou64() part3Wang Shilong1-4/+10
2014-03-21btrfs-progs: fix fsck leaks on error returnsGui Hecheng1-12/+20
2014-03-21btrfs-progs: Remove superfluous BUG_ON check.Mitch Harder1-1/+0
2014-03-21btrfs-progs: Preserve process_one_leaf return value.Mitch Harder1-1/+4
2014-01-31btrfs-progs: btrfsck operations should be exclusiveAnand Jain1-1/+2
2014-01-31Btrfs-progs: check return value of read_tree_block() in check_chunks_and_exte...Eryu Guan1-0/+8
2014-01-31Btrfs-progs: add support for the no holes incompat flagJosef Bacik1-2/+12
2014-01-31Btrfs-progs: deal with invalid key orderings and bad orphan items V2Josef Bacik1-36/+297
2014-01-31Btrfs-progs: reset balance before reiniting extent rootJosef Bacik1-6/+6
2014-01-31btrfs-progs: fix backref after init-csum-treeAnand Jain1-0/+6
2014-01-31btrfs-progs: Make btrfs_header_chunk_tree_uuid() return unsigned longRoss Kirk1-1/+1
2014-01-31btrfs-progs: define BTRFS_UUID_UNPARSE_SIZE for uuid unparse buf sizeAnand Jain1-1/+1
2014-01-31Btrfs-progs: don't output baffling message when checking a fresh fsMiao Xie1-1/+2
2014-01-31Btrfs-progs: allow --init-extent-tree to work when extent tree is borkedJosef Bacik1-3/+6
2014-01-31Btrfs-progs: fix btrfsck improper prompt on dropping snapshotsGui Hecheng1-10/+91
2013-11-07btrfs-progs: remove more dead code from check_extent_refsEric Sandeen1-3/+0
2013-11-07Btrfs-progs: rework open_ctree to take flags, add a new one V2Josef Bacik1-7/+7
2013-11-07Btrfs-progs: add -b to btrfsck to look at backup rootsJosef Bacik1-2/+8
2013-10-16btrfs-progs: don't leak path in verify_space_cacheZach Brown1-2/+4
2013-10-16btrfs-progs: remove dead block group checkingZach Brown1-50/+0
2013-10-16Btrfs-progs: print out human readable errors for inodes and backrefsJosef Bacik1-2/+68
2013-10-16Btrfs-progs: keep track of transid failures and fix them if possibleJosef Bacik1-0/+58
2013-10-16Btrfs-progs: make the repair option a global static varJosef Bacik1-12/+11
2013-10-16btrfs-progs: Make btrfs_header_fsid() return unsigned longRoss Kirk1-2/+1
2013-10-16btrfs-progs: remove unused parameter from btrfs_header_fsidRoss Kirk1-1/+1
2013-10-16Btrfs-progs: make btrfsck fix backrefs that are brokenJosef Bacik1-7/+153
2013-10-16Btrfs-progs: allow fsck to fix directory isize errorsJosef Bacik1-6/+80
2013-10-16btrfs-progs: missing tree-freeing statements addedGui Hecheng1-0/+5
2013-09-03btrfs-progs: use NULL instead of 0Zach Brown1-1/+1
2013-09-03btrfs-progs: fix extent key endian bug in repairZach Brown1-2/+5
2013-09-03btrfs-progs: fix shadow symbolsZach Brown1-4/+3
2013-09-03btrfs-progs: drop unused parameter from btrfs_release_pathEric Sandeen1-24/+24
2013-08-09Btrfs-progs: add missing path alloc return value checkFilipe David Borba Manana1-0/+2
2013-08-09Btrfs-progs: commit the csum_root if we do --init-csum-treeJosef Bacik1-1/+1
2013-08-09btrfs-progs: pass up return value of walk_down_treeLin Ming1-4/+12
2013-08-09Btrfs-progs: move btrfs_fsck_reinit_root to cmds-check.cEric Sandeen1-0/+47
2013-07-05btrfsck: fix incorrect casting on items in the corrupt_blocks treeChris Mason1-2/+1
2013-07-03Btrfs-progs: Add chunk rebuild function for RAID1/SINGLE/DUPMiao Xie1-15/+16
2013-07-03Btrfs-progs: Add chunk recover function - using old chunk itemsMiao Xie1-112/+173
2013-07-03Btrfs-progs: Add block group check funtionMiao Xie1-9/+546
2013-07-03Btrfs-progs: extend the extent cache for the device extentMiao Xie1-54/+42
2013-07-03Btrfs-progs: introduce common insert/search/delete functions for rb-treeMiao Xie1-62/+49
2013-06-19Btrfs-progs: fix reference check for roots in btrfsckJosef Bacik1-0/+8
2013-06-19Btrfs-progs: fix incorrect root backref errors in fsckJosef Bacik1-2/+6
2013-06-19Btrfs-progs: fix fsck dealing with finding backrefs firstJosef Bacik1-15/+119
2013-06-19Btrfs-progs: fix free space cache checksJosef Bacik1-10/+6
2013-06-19Btrfs-progs: add --init-extent-tree to btrfsckJosef Bacik1-1/+359
2013-06-19Btrfs-progs: make fsck fix certain file extent inconsistenciesJosef Bacik1-38/+655
2013-05-10Btrfs-progs: add the ability to find mismmatching backrefsJosef Bacik1-12/+53
2013-05-06Btrfs-progs: init free space ctl with proper unitJosef Bacik1-2/+9
2013-04-23Btrfs-progs: make restore deal with really broken file systemsJosef Bacik1-1/+1
2013-04-23Btrfs-progs: fix csum check when extent lands on block groupJosef Bacik1-2/+22
2013-04-23Btrfs-progs: add csum tree checks to btrfsckJosef Bacik1-0/+186
2013-04-23Btrfs-progs: fix segfault in fsck if the chunk tree is bogusJosef Bacik1-2/+4
2013-04-23Btrfs-progs: add a free space cache checker to fsck V2Josef Bacik1-0/+223
2013-04-23Btrfs-progs: add skinny metadata support to progs V3Josef Bacik1-22/+56
2013-03-10btrfs-progs: separate super_copy out of fs_infoDavid Sterba1-2/+2
2013-02-27Btrfs-progs: fix segmentation fault of "btrfs check"Tsutomu Itoh1-3/+3
2013-02-12Btrfs-progs: add btrfsck functionality to btrfsIan Kumlien1-17/+23
2013-02-12Btrfs-progs: Rename btrfsck.c -> cmds-check.cIan Kumlien1-0/+3681