btrfs: Make extent-io callbacks that never fail return void
authorJeff Mahoney <jeffm@suse.de>
Thu, 21 Jul 2011 16:56:09 +0000 (16:56 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:43 +0000 (14:30 -0400)
commit1bf85046e493c88be1c1bad9084428373089f618
treee7358cb2dd597c8be7001be4573fa0e53361ebb5
parentb6973aa62253f3791ef6fa5e9f9de099645fc2bd
btrfs: Make extent-io callbacks that never fail return void

The set/clear bit and the extent split/merge hooks only ever return 0.

 Changing them to return void simplifies the error handling cases later.

 This patch changes the hook prototypes, the single implementation of each,
 and the functions that call them to return void instead.

 Since all four of these hooks execute under a spinlock, they're necessarily
 simple.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c