summaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-01-25 19:57:24 (GMT)
committerJosef Bacik <josef@redhat.com>2011-03-17 18:21:15 (GMT)
commitd0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc (patch)
tree790070af3c6c05b0599e26c7ce93516192a04a94 /kernel/compat.c
parent9f570b8d48b6677b5557d86fb3ca148215e295f2 (diff)
downloadlinux-fsl-qoriq-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.tar.xz
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 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions