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
326ce0a6
Commit
326ce0a6
authored
Oct 15, 2012
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lockd: Remove trivial BUG_ON()s from the NSM code
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
aad56de3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
fs/lockd/mon.c
fs/lockd/mon.c
+0
-3
No files found.
fs/lockd/mon.c
View file @
326ce0a6
...
...
@@ -154,8 +154,6 @@ static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res,
.
rpc_resp
=
res
,
};
BUG_ON
(
clnt
==
NULL
);
memset
(
res
,
0
,
sizeof
(
*
res
));
msg
.
rpc_proc
=
&
clnt
->
cl_procinfo
[
proc
];
...
...
@@ -466,7 +464,6 @@ static void encode_nsm_string(struct xdr_stream *xdr, const char *string)
const
u32
len
=
strlen
(
string
);
__be32
*
p
;
BUG_ON
(
len
>
SM_MAXSTRLEN
);
p
=
xdr_reserve_space
(
xdr
,
4
+
len
);
xdr_encode_opaque
(
p
,
string
,
len
);
}
...
...
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