]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix sync subvol/snapshot creation
authorSage Weil <sage@newdream.net>
Fri, 10 Dec 2010 00:36:28 +0000 (00:36 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 10 Dec 2010 21:29:10 +0000 (16:29 -0500)
commit6899dc0617d60cbab99326c22449b416f7f6a4c0
tree073828ec809c95dbae9368b7f83a3734dad82b45
parent22e213d9994443426184ff7c44fa7f15b19a6aff
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: Sage Weil <sage@newdream.net>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c