diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2013-01-20 13:57:57 (GMT) |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2013-01-20 14:21:18 (GMT) |
commit | 2c0c9da02a2c4289350da6e54202a86602c0f926 (patch) | |
tree | f2a7cc3827ec7fb948d6b54fb18b751a36f6684a /COPYING | |
parent | ed0fb78fb6aa294a719f8f5654fdff0ec8bc00bc (diff) | |
download | linux-2c0c9da02a2c4289350da6e54202a86602c0f926.tar.xz |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions