summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/main.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-03-14 15:09:15 -0500
committerDavid Teigland <teigland@redhat.com>2008-04-21 11:22:28 -0500
commit2402211a8389282fd2942fad4511f02c0eeeffc5 (patch)
tree853e5818a29816e642689d7e793a845d2519711b /fs/gfs2/locking/dlm/main.c
parentd44e0fc704143624b3e88fbf8fbcfda7a83fd299 (diff)
downloadblackbird-op-linux-2402211a8389282fd2942fad4511f02c0eeeffc5.tar.gz
blackbird-op-linux-2402211a8389282fd2942fad4511f02c0eeeffc5.zip
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.c8
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)
return error;
}
- error = gdlm_plock_init();
- if (error) {
- gdlm_sysfs_exit();
- gfs2_unregister_lockproto(&gdlm_ops);
- return error;
- }
-
printk(KERN_INFO
"Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__);
return 0;
@@ -42,7 +35,6 @@ static int __init init_lock_dlm(void)
static void __exit exit_lock_dlm(void)
{
- gdlm_plock_exit();
gdlm_sysfs_exit();
gfs2_unregister_lockproto(&gdlm_ops);
}
OpenPOWER on IntegriCloud