summaryrefslogtreecommitdiff
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2014-11-10 17:21:09 +0100
committerJens Axboe <axboe@fb.com>2014-11-10 09:27:30 -0700
commit179e20b8df97e0c7541a1bae30cad53ecc7a5e86 (patch)
tree09ba871446b543f9adf3c7468334053e3a2cab62 /include/linux/drbd.h
parenta64e6bb4db601b561f2d3a80dfc554ddfe73db74 (diff)
downloadlwn-179e20b8df97e0c7541a1bae30cad53ecc7a5e86.tar.gz
lwn-179e20b8df97e0c7541a1bae30cad53ecc7a5e86.zip
drbd: Minor cleanups
. Update comments . drbd_set_{in,out_of}_sync(): Remove unused parameters . Move common code into adm_del_resource() . Redefine ERR_MINOR_EXISTS -> ERR_MINOR_OR_VOLUME_EXISTS Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/drbd.h')
-rw-r--r--include/linux/drbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index debb70d40547..8723f2a99e15 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -172,7 +172,7 @@ enum drbd_ret_code {
ERR_RES_NOT_KNOWN = 158,
ERR_RES_IN_USE = 159,
ERR_MINOR_CONFIGURED = 160,
- ERR_MINOR_EXISTS = 161,
+ ERR_MINOR_OR_VOLUME_EXISTS = 161,
ERR_INVALID_REQUEST = 162,
ERR_NEED_APV_100 = 163,
ERR_NEED_ALLOW_TWO_PRI = 164,