aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorJoel Becker <Joel.Becker@oracle.com>2008-01-28 21:52:04 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2008-01-28 22:10:23 -0500
commit6b11d8179d1c6e560edc02c40a53b65fde83bf3f (patch)
tree297622b7b98f6d2a7acccc035ed2c7d6ced468d0 /fs/ocfs2
parent8561b089afbaed2651591e5a4574fdca451d82f2 (diff)
ocfs2: Fix userspace ABI breakage in sysfs
The userspace ABI of ocfs2's internal cluster stack (o2cb) was broken by commit c60b71787982cefcf9fa09aa281fa8c4c685d557 "kset: convert ocfs2 to use kset_create". Specifically, the '/sys/o2cb' kset was moved to '/sys/fs/o2cb'. This breaks all ocfs2 tools and renders the filesystem unmountable. This fix moves '/sys/o2cb' back where it belongs. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/cluster/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/sys.c b/fs/ocfs2/cluster/sys.c
index a4b07730b2e1..0c095ce7723d 100644
--- a/fs/ocfs2/cluster/sys.c
+++ b/fs/ocfs2/cluster/sys.c
@@ -64,7 +64,7 @@ int o2cb_sys_init(void)
64{ 64{
65 int ret; 65 int ret;
66 66
67 o2cb_kset = kset_create_and_add("o2cb", NULL, fs_kobj); 67 o2cb_kset = kset_create_and_add("o2cb", NULL, NULL);
68 if (!o2cb_kset) 68 if (!o2cb_kset)
69 return -ENOMEM; 69 return -ENOMEM;
70 70