commit | 2c0c9da02a2c4289350da6e54202a86602c0f926 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Sun Jan 20 15:57:57 2013 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Sun Jan 20 16:21:18 2013 +0200 |
tree | f2a7cc3827ec7fb948d6b54fb18b751a36f6684a | |
parent | ed0fb78fb6aa294a719f8f5654fdff0ec8bc00bc [diff] |
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 <idryomov@gmail.com>