summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJeff Mahoney2011-07-21 18:56:09 +0200
committerChris Mason2011-08-01 20:30:43 +0200
commit1bf85046e493c88be1c1bad9084428373089f618 (patch)
treee7358cb2dd597c8be7001be4573fa0e53361ebb5 /fs/btrfs/ctree.h
parentBtrfs: fix readahead in file defrag (diff)
downloadkernel-qcow2-linux-1bf85046e493c88be1c1bad9084428373089f618.tar.gz
kernel-qcow2-linux-1bf85046e493c88be1c1bad9084428373089f618.tar.xz
kernel-qcow2-linux-1bf85046e493c88be1c1bad9084428373089f618.zip
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions