diff options
author | David Teigland <teigland@redhat.com> | 2008-03-14 16:09:15 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-04-21 12:22:28 -0400 |
commit | 2402211a8389282fd2942fad4511f02c0eeeffc5 (patch) | |
tree | 853e5818a29816e642689d7e793a845d2519711b /fs/gfs2/locking/dlm/main.c | |
parent | d44e0fc704143624b3e88fbf8fbcfda7a83fd299 (diff) |
dlm: move plock code from gfs2
Move the code that handles cluster posix locks from gfs2 into the dlm
so that it can be used by both gfs2 and ocfs2.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/gfs2/locking/dlm/main.c')
-rw-r--r-- | fs/gfs2/locking/dlm/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/locking/dlm/main.c b/fs/gfs2/locking/dlm/main.c index 36a225850bd8..b9a03a7ff801 100644 --- a/fs/gfs2/locking/dlm/main.c +++ b/fs/gfs2/locking/dlm/main.c | |||
@@ -28,13 +28,6 @@ static int __init init_lock_dlm(void) | |||
28 | return error; | 28 | return error; |
29 | } | 29 | } |
30 | 30 | ||
31 | error = gdlm_plock_init(); | ||
32 | if (error) { | ||
33 | gdlm_sysfs_exit(); | ||
34 | gfs2_unregister_lockproto(&gdlm_ops); | ||
35 | return error; | ||
36 | } | ||
37 | |||
38 | printk(KERN_INFO | 31 | printk(KERN_INFO |
39 | "Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__); | 32 | "Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__); |
40 | return 0; | 33 | return 0; |
@@ -42,7 +35,6 @@ static int __init init_lock_dlm(void) | |||
42 | 35 | ||
43 | static void __exit exit_lock_dlm(void) | 36 | static void __exit exit_lock_dlm(void) |
44 | { | 37 | { |
45 | gdlm_plock_exit(); | ||
46 | gdlm_sysfs_exit(); | 38 | gdlm_sysfs_exit(); |
47 | gfs2_unregister_lockproto(&gdlm_ops); | 39 | gfs2_unregister_lockproto(&gdlm_ops); |
48 | } | 40 | } |