From: Ilya Dryomov Date: Sun, 20 Jan 2013 13:57:57 +0000 (+0200) Subject: Btrfs: fix "mutually exclusive op is running" error code X-Git-Tag: v3.8-rc5~1^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c0c9da02a2c4289350da6e54202a86602c0f926;p=pandora-kernel.git Btrfs: fix "mutually exclusive op is running" error code The error code that is returned in response to starting a mutually exclusive operation when there is one already running got silently changed from EINVAL to EINPROGRESS by 5ac00add. Returning EINPROGRESS to, say, add_dev, when rm_dev is running is misleading. Furthermore, the operation itself may want to use EINPROGRESS for other purposes. Signed-off-by: Ilya Dryomov --- Reading git-diff-tree failed