aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zlib.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-01-25 14:57:24 -0500
committerJosef Bacik <josef@redhat.com>2011-03-17 14:21:15 -0400
commitd0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc (patch)
tree790070af3c6c05b0599e26c7ce93516192a04a94 /fs/btrfs/zlib.c
parent9f570b8d48b6677b5557d86fb3ca148215e295f2 (diff)
downloadkernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.zip
kernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.tar.gz
kernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.tar.bz2
Btrfs: simplify our write path
Our aio_write function is huge and kind of hard to follow at times. So this patch fixes this by breaking out the buffered and direct write paths out into seperate functions so it's a little clearer what's going on. I've also fixed some wrong typing that we had and added the ability to handle getting an error back from btrfs_set_extent_delalloc. Tested this with xfstests and everything came out fine. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/zlib.c')
0 files changed, 0 insertions, 0 deletions