error = register_filesystem(&bfs_fs_type);
if (error)
return error;
fs = get_fs();
set_fs(get_ds());
bfs_fsindex = sysfs(1, (unsigned long)"bfs", 0);
set_fs(fs);
if (bfs_index < 0) {
unregister_filesystem(&bfs_fs_type);
return -EINVAL;
}
return 0;
Regards,
Tigran.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/