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
26269348
Commit
26269348
authored
Oct 15, 2012
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lockd: Remove BUG_ON()s from fs/lockd/clntproc.c
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
a2d30a54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/lockd/clntproc.c
fs/lockd/clntproc.c
+1
-2
No files found.
fs/lockd/clntproc.c
View file @
26269348
...
...
@@ -141,7 +141,7 @@ static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl)
static
void
nlmclnt_release_lockargs
(
struct
nlm_rqst
*
req
)
{
BUG_ON
(
req
->
a_args
.
lock
.
fl
.
fl_ops
!=
NULL
);
WARN_ON_ONCE
(
req
->
a_args
.
lock
.
fl
.
fl_ops
!=
NULL
);
}
/**
...
...
@@ -465,7 +465,6 @@ static const struct file_lock_operations nlmclnt_lock_ops = {
static
void
nlmclnt_locks_init_private
(
struct
file_lock
*
fl
,
struct
nlm_host
*
host
)
{
BUG_ON
(
fl
->
fl_ops
!=
NULL
);
fl
->
fl_u
.
nfs_fl
.
state
=
0
;
fl
->
fl_u
.
nfs_fl
.
owner
=
nlm_find_lockowner
(
host
,
fl
->
fl_owner
);
INIT_LIST_HEAD
(
&
fl
->
fl_u
.
nfs_fl
.
list
);
...
...
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