Skip to content
Commit 3f7c579c authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 4845e44f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment