Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9b2f61ae
Commit
9b2f61ae
authored
May 24, 2011
by
Philipp Reisner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drbd: fix warning
Signed-off-by:
Philipp Reisner
<
philipp.reisner@linbit.com
>
parent
24c4830c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_nl.c
+1
-1
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_receiver.c
+0
-6
No files found.
drivers/block/drbd/drbd_nl.c
View file @
9b2f61ae
...
@@ -1342,7 +1342,7 @@ static int drbd_nl_detach(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
...
@@ -1342,7 +1342,7 @@ static int drbd_nl_detach(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
ret
=
wait_event_interruptible
(
mdev
->
misc_wait
,
ret
=
wait_event_interruptible
(
mdev
->
misc_wait
,
mdev
->
state
.
disk
!=
D_FAILED
);
mdev
->
state
.
disk
!=
D_FAILED
);
drbd_resume_io
(
mdev
);
drbd_resume_io
(
mdev
);
if
(
retcode
==
SS_IS_DISKLESS
)
if
(
(
int
)
retcode
==
(
int
)
SS_IS_DISKLESS
)
retcode
=
SS_NOTHING_TO_DO
;
retcode
=
SS_NOTHING_TO_DO
;
if
(
ret
)
if
(
ret
)
retcode
=
ERR_INTR
;
retcode
=
ERR_INTR
;
...
...
drivers/block/drbd/drbd_receiver.c
View file @
9b2f61ae
...
@@ -2911,12 +2911,6 @@ static int receive_SyncParam(struct drbd_conf *mdev, enum drbd_packets cmd, unsi
...
@@ -2911,12 +2911,6 @@ static int receive_SyncParam(struct drbd_conf *mdev, enum drbd_packets cmd, unsi
return
false
;
return
false
;
}
}
static
void
drbd_setup_order_type
(
struct
drbd_conf
*
mdev
,
int
peer
)
{
/* sorry, we currently have no working implementation
* of distributed TCQ */
}
/* warn if the arguments differ by more than 12.5% */
/* warn if the arguments differ by more than 12.5% */
static
void
warn_if_differ_considerably
(
struct
drbd_conf
*
mdev
,
static
void
warn_if_differ_considerably
(
struct
drbd_conf
*
mdev
,
const
char
*
s
,
sector_t
a
,
sector_t
b
)
const
char
*
s
,
sector_t
a
,
sector_t
b
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment