projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bc019
)
drbd: drbd_bm_read() never returns a positive value through drbd_bitmap_io()
author
Andreas Gruenbacher
<agruen@linbit.com>
Mon, 13 Dec 2010 00:44:11 +0000
(
01:44
+0100)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:44:47 +0000
(16:44 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_nl.c
b/drivers/block/drbd/drbd_nl.c
index d903fb5ea41c3b59d9544fc5d085a086aa69f3e0..f1ec727f7df53147bf5360b028412f77cc26428d 100644
(file)
--- a/
drivers/block/drbd/drbd_nl.c
+++ b/
drivers/block/drbd/drbd_nl.c
@@
-1488,7
+1488,7
@@
int drbd_adm_attach(struct sk_buff *skb, struct genl_info *info)
}
} else {
if (drbd_bitmap_io(mdev, &drbd_bm_read,
- "read from attaching", BM_LOCKED_MASK)
< 0
) {
+ "read from attaching", BM_LOCKED_MASK)) {
retcode = ERR_IO_MD_DISK;
goto force_diskless_dec;
}