alistair23-linux/fs/btrfs
Mark Fasheh be1a5564fd btrfs: Don't BUG_ON() errors in update_ref_for_cow()
The only caller of update_ref_for_cow() is __btrfs_cow_block() which was
originally ignoring any return values. update_ref_for_cow() however doesn't
look like a candidate to become a void function - there are a few places
where errors can occur.

So instead I changed update_ref_for_cow() to bubble all errors up (instead
of BUG_ON). __btrfs_cow_block() was then updated to catch and BUG_ON() any
errors from update_ref_for_cow(). The end effect is that we have no change
in behavior, but about 8 different places where a BUG_ON(ret) was removed.

Obviously a future patch will have to address the BUG_ON() in
__btrfs_cow_block().

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
2012-03-22 01:45:36 +01:00
..
acl.c
async-thread.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
async-thread.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
backref.c btrfs: fix locking issues in find_parent_nodes() 2012-03-03 07:41:15 -05:00
backref.h Btrfs: added btrfs_find_all_roots() 2012-01-04 16:26:38 +01:00
btrfs_inode.h Btrfs: add a delalloc mutex to inodes for delalloc reservations 2012-01-16 15:29:43 -05:00
check-integrity.c Btrfs: fix compiler warnings on 32 bit systems 2012-02-24 10:39:05 -05:00
check-integrity.h Btrfs: add optional integrity check code 2011-12-21 19:14:09 +01:00
compat.h
compression.c btrfs: drop gfp_t from lock_extent 2012-03-22 01:45:35 +01:00
compression.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
ctree.c btrfs: Don't BUG_ON() errors in update_ref_for_cow() 2012-03-22 01:45:36 +01:00
ctree.h btrfs: btrfs_drop_snapshot should return int 2012-03-22 01:45:36 +01:00
delayed-inode.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
delayed-inode.h
delayed-ref.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
delayed-ref.h Btrfs: add waitqueue instead of doing busy waiting for more delayed refs 2012-01-04 16:12:48 +01:00
dir-item.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
disk-io.c btrfs: drop gfp_t from lock_extent 2012-03-22 01:45:35 +01:00
disk-io.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
export.c btrfs: let ->s_fs_info point to fs_info, not root... 2012-01-08 19:35:37 -05:00
export.h
extent-tree.c btrfs: btrfs_drop_snapshot should return int 2012-03-22 01:45:36 +01:00
extent_io.c btrfs: split extent_state ops 2012-03-22 01:45:35 +01:00
extent_io.h btrfs: split extent_state ops 2012-03-22 01:45:35 +01:00
extent_map.c
extent_map.h btrfs: fix structs where bitfields and spinlock/atomic share 8B word 2012-02-15 16:40:25 +01:00
file-item.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
file.c btrfs: drop gfp_t from lock_extent 2012-03-22 01:45:35 +01:00
free-space-cache.c btrfs: drop gfp_t from lock_extent 2012-03-22 01:45:35 +01:00
free-space-cache.h
hash.h
inode-item.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
inode-map.c Btrfs: fix compiler warnings on 32 bit systems 2012-02-24 10:39:05 -05:00
inode-map.h
inode.c btrfs: Don't BUG_ON errors from btrfs_create_subvol_root() 2012-03-22 01:45:36 +01:00
ioctl.c btrfs: Don't BUG_ON errors from btrfs_create_subvol_root() 2012-03-22 01:45:36 +01:00
ioctl.h Btrfs: add balance progress reporting 2012-01-16 22:04:49 +02:00
Kconfig Btrfs: add config option to enable btrfs integrity check 2011-12-21 19:14:16 +01:00
locking.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
locking.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
lzo.c
Makefile Merge branch 'integrity-check-patch-v2' of git://btrfs.giantdisaster.de/git/btrfs into integration 2012-01-16 15:27:58 -05:00
ordered-data.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
ordered-data.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
orphan.c
print-tree.c
print-tree.h
reada.c Btrfs: fix casting error in scrub reada code 2012-03-03 07:42:35 -05:00
relocation.c btrfs: btrfs_drop_snapshot should return int 2012-03-22 01:45:36 +01:00
root-tree.c btrfs: btrfs_update_root error push-up 2012-03-22 01:45:33 +01:00
scrub.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
struct-funcs.c
super.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
sysfs.c
transaction.c btrfs: btrfs_drop_snapshot should return int 2012-03-22 01:45:36 +01:00
transaction.h
tree-defrag.c
tree-log.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
tree-log.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
ulist.c Btrfs: generic data structure to build unique lists 2011-12-22 16:22:24 +01:00
ulist.h Btrfs: generic data structure to build unique lists 2011-12-22 16:22:24 +01:00
version.h
volumes.c btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
volumes.h btrfs: return void in functions without error conditions 2012-03-22 01:45:34 +01:00
xattr.c Btrfs: do not use btrfs_end_transaction_throttle everywhere 2012-01-16 15:28:54 -05:00
xattr.h
zlib.c