summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode-map.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-05-26 16:59:53 +0200
committerChris Mason <chris.mason@oracle.com>2010-05-26 16:59:53 +0200
commit3f7c579c41a3d20af76fd6ff1f6b949edf105fd1 (patch)
tree374d50346763fb37299f5de93f48901596f21e59 /fs/btrfs/inode-map.c
parentBtrfs: rework O_DIRECT enospc handling (diff)
downloadlinux-3f7c579c41a3d20af76fd6ff1f6b949edf105fd1.tar.xz
linux-3f7c579c41a3d20af76fd6ff1f6b949edf105fd1.zip
Btrfs: move O_DIRECT space reservation to btrfs_direct_IO
This moves the delalloc space reservation done for O_DIRECT into btrfs_direct_IO. This way we don't leak reserved space if the generic O_DIRECT write code errors out before it calls into btrfs_direct_IO. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
0 files changed, 0 insertions, 0 deletions