summaryrefslogtreecommitdiffstats
path: root/lib/argv_split.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2013-01-20 15:57:57 +0200
committerIlya Dryomov <idryomov@gmail.com>2013-01-20 16:21:18 +0200
commit2c0c9da02a2c4289350da6e54202a86602c0f926 (patch)
treef2a7cc3827ec7fb948d6b54fb18b751a36f6684a /lib/argv_split.c
parented0fb78fb6aa294a719f8f5654fdff0ec8bc00bc (diff)
downloadblackbird-op-linux-2c0c9da02a2c4289350da6e54202a86602c0f926.tar.gz
blackbird-op-linux-2c0c9da02a2c4289350da6e54202a86602c0f926.zip
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 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud