Skip to content
Commit 75eaa0e2 authored by Sage Weil's avatar Sage Weil Committed by Chris Mason
Browse files

Btrfs: fix sync subvol/snapshot creation



We were incorrectly taking the async path even for the sync ioctls by
passing in &transid unconditionally.

There's ample room for further cleanup here, but this keeps the fix simple.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
Reviewed-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 24ae6365
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