Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38749
b: refs/heads/master
c: 597d0ca
h: refs/heads/master
i:
  38747: 755dc5c
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Jul 13, 2006
1 parent 45c0c2f commit b12d03c
Show file tree
Hide file tree
Showing 14 changed files with 1,193 additions and 1,261 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: 2eb168ca94aba3bcae350ad9b31870955174a218
refs/heads/master: 597d0cae0f99f62501e229bed50e8149604015bb
8 changes: 0 additions & 8 deletions trunk/fs/dlm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ config DLM
A general purpose distributed lock manager for kernel or userspace
applications.

config DLM_DEVICE
tristate "DLM device for userspace access"
depends on DLM
help
This module creates a misc device through which the dlm lockspace
and locking functions become available to userspace applications
(usually through the libdlm library).

config DLM_DEBUG
bool "DLM debugging"
depends on DLM
Expand Down
4 changes: 1 addition & 3 deletions trunk/fs/dlm/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
obj-$(CONFIG_DLM) += dlm.o
obj-$(CONFIG_DLM_DEVICE) += dlm_device.o

dlm-y := ast.o \
config.o \
dir.o \
Expand All @@ -15,7 +13,7 @@ dlm-y := ast.o \
recover.o \
recoverd.o \
requestqueue.o \
user.o \
util.o
dlm-$(CONFIG_DLM_DEBUG) += debug_fs.o

dlm_device-y := device.o
7 changes: 6 additions & 1 deletion trunk/fs/dlm/ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "dlm_internal.h"
#include "lock.h"
#include "ast.h"
#include "user.h"

#define WAKE_ASTS 0

Expand All @@ -34,6 +34,11 @@ void dlm_del_ast(struct dlm_lkb *lkb)

void dlm_add_ast(struct dlm_lkb *lkb, int type)
{
if (lkb->lkb_flags & DLM_IFL_USER) {
dlm_user_add_ast(lkb, type);
return;
}

spin_lock(&ast_queue_lock);
if (!(lkb->lkb_ast_type & (AST_COMP | AST_BAST))) {
kref_get(&lkb->lkb_ref);
Expand Down
Loading

0 comments on commit b12d03c

Please sign in to comment.