I want to get the kobject and kset struct of /sys/fs/f2fs in Linux kernel. I tried the following method:
kset_find_obj(fs_kobj->kset, "f2fs")
But null pointer error happened.
fs_kobj->kset seems to be null.
How can I do it?
I want to get the kobject and kset struct of /sys/fs/f2fs in Linux kernel. I tried the following method:
kset_find_obj(fs_kobj->kset, "f2fs")
But null pointer error happened.
fs_kobj->kset seems to be null.
How can I do it?
Copyright © 2021 Jogjafile Inc.
I find a method as below: