From: Josef Bacik Date: Wed, 4 Feb 2009 14:18:33 +0000 (-0500) Subject: Btrfs: join the transaction in __btrfs_setxattr X-Git-Tag: v2.6.29-rc4~9^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=811449496b3e3caa9a8cf43feacbade0153324f2;p=pandora-kernel.git Btrfs: join the transaction in __btrfs_setxattr With selinux on we end up calling __btrfs_setxattr when we create an inode, which calls btrfs_start_transaction(). The problem is we've already called that in btrfs_new_inode, and in btrfs_start_transaction we end up doing a wait_current_trans(). If btrfs-transaction has started committing it will wait for all handles to finish, while the other process is waiting for the transaction to commit. This is fixed by using btrfs_join_transaction, which won't wait for the transaction to commit. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed