Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323229
b: refs/heads/master
c: c5aa1e5
h: refs/heads/master
i:
  323227: b58f64d
v: v3
  • Loading branch information
Al Viro committed Sep 23, 2012
1 parent 051da29 commit 5272abb
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: 156cacb1d0d36b0d0582d9e798e58e0044f516b3
refs/heads/master: c5aa1e554a20fb3542c62688ae46049c9225a965
3 changes: 1 addition & 2 deletions trunk/fs/lockd/svclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ static void nlmsvc_free_block(struct kref *kref)
dprintk("lockd: freeing block %p...\n", block);

/* Remove block from file's list of blocks */
mutex_lock(&file->f_mutex);
list_del_init(&block->b_flist);
mutex_unlock(&file->f_mutex);

Expand All @@ -303,7 +302,7 @@ static void nlmsvc_free_block(struct kref *kref)
static void nlmsvc_release_block(struct nlm_block *block)
{
if (block != NULL)
kref_put(&block->b_count, nlmsvc_free_block);
kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex);
}

/*
Expand Down

0 comments on commit 5272abb

Please sign in to comment.