Re: VE on GFS/GFS2 [message #33784 is a reply to message #33783] |
Mon, 10 November 2008 07:59 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi Frank,
surely gfs will be fixed in future releases.
For now please, use older kernel with working gfs module or you can fix gfs in the current kernel by yourself and recompile the kernel.
The fix is extremely easy:
--- old/fs/gfs/proc.c 2008-10-24 12:52:30.000000000 +0400
+++ new/fs/gfs/proc.c 2008-10-24 12:53:43.000000000 +0400
@@ -474,7 +474,7 @@ gfs_proc_init(void)
spin_lock_init(&gfs_proc_margs_lock);
spin_lock_init(&gfs_req_lock);
- pde = create_proc_entry("src/fs/gfs", S_IFREG | 0600, NULL);
+ pde = create_proc_entry("fs/gfs", S_IFREG | 0600, NULL);
if (!pde)
return -ENOMEM;
@@ -494,6 +494,6 @@ gfs_proc_uninit(void)
{
if (gfs_proc_margs)
kfree(gfs_proc_margs);
- remove_proc_entry("src/fs/gfs", NULL);
+ remove_proc_entry("fs/gfs", NULL);
}
Hope this helps.
--
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
[Updated on: Mon, 10 November 2008 07:59] Report message to a moderator
|
|
|