Commit:     6b11d8179d1c6e560edc02c40a53b65fde83bf3f
Parent:     8561b089afbaed2651591e5a4574fdca451d82f2
Author:     Joel Becker <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 28 18:52:04 2008 -0800
Committer:  Mark Fasheh <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 19:10:23 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mark Fasheh <[EMAIL PROTECTED]>
 fs/ocfs2/cluster/sys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/cluster/sys.c b/fs/ocfs2/cluster/sys.c
index a4b0773..0c095ce 100644
--- a/fs/ocfs2/cluster/sys.c
+++ b/fs/ocfs2/cluster/sys.c
@@ -64,7 +64,7 @@ int o2cb_sys_init(void)
        int ret;
-       o2cb_kset = kset_create_and_add("o2cb", NULL, fs_kobj);
+       o2cb_kset = kset_create_and_add("o2cb", NULL, NULL);
        if (!o2cb_kset)
                return -ENOMEM;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to