From: Filipe David Borba Manana Date: Sat, 11 Jan 2014 21:31:25 +0000 (+0000) Subject: Btrfs: unlock inodes in correct order in clone ioctl X-Git-Tag: v3.14-rc1~29^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c57c2b3ed248b3f1712e4172eb85b361199582f2;p=pandora-kernel.git Btrfs: unlock inodes in correct order in clone ioctl In the clone ioctl, when the source and target inodes are different, we can acquire their mutexes in 2 possible different orders. After we're done cloning, we were releasing the mutexes always in the same order - the most correct way of doing it is to release them by the reverse order they were acquired. Signed-off-by: Filipe David Borba Manana Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed