1 From: David Teigland <teigland@redhat.com>
2 commit f9f2ed486256f3480e4d499ffd6bf730bc5e6fc6
3 Author: David Teigland <teigland@redhat.com>
4 Date: Thu Sep 4 12:51:20 2008 -0500
5 Subject: dlm: remove bkl
7 BLK from recent pushdown is not needed.
9 Signed-off-by: David Teigland <teigland@redhat.com>
10 Signed-off-by: Coly Li <coly.li@suse.de>
12 diff --git a/fs/dlm/user.c b/fs/dlm/user.c
13 index 81627b5..b3832c6 100644
17 #include <linux/poll.h>
18 #include <linux/signal.h>
19 #include <linux/spinlock.h>
20 -#include <linux/smp_lock.h>
21 #include <linux/dlm.h>
22 #include <linux/dlm_device.h>
24 @@ -637,17 +636,13 @@ static int device_open(struct inode *inode, struct file *file)
25 struct dlm_user_proc *proc;
29 ls = dlm_find_lockspace_device(iminor(inode));
36 proc = kzalloc(sizeof(struct dlm_user_proc), GFP_KERNEL);
38 dlm_put_lockspace(ls);
43 @@ -659,7 +654,6 @@ static int device_open(struct inode *inode, struct file *file)
44 spin_lock_init(&proc->locks_spin);
45 init_waitqueue_head(&proc->wait);
46 file->private_data = proc;
51 @@ -914,7 +908,6 @@ int dlm_user_daemon_available(void)
53 static int ctl_device_open(struct inode *inode, struct file *file)
55 - cycle_kernel_lock();
56 file->private_data = NULL;