Skip to content
Snippets Groups Projects
Commit 955256f2 authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: fix use after free in O_DIRECT


This fixes a bug where we use dip after we have freed it.  Instead just use the
file_offset that was passed to the function.  Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent 5a92bc88
No related branches found
No related tags found
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