Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346546
b: refs/heads/master
c: 2626934
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Nov 4, 2012
1 parent c355b9b commit 6d2d934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2d30a54df968c01fff4a412ac23f55832f45fe6
refs/heads/master: 262693482cd56f887174ad1c0c2bb4f94ffad0ee
3 changes: 1 addition & 2 deletions trunk/fs/lockd/clntproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6d2d934

Please sign in to comment.