On Mon, Oct 08, 2007 at 03:35:49PM -0700, J Duff wrote: > I just got back to implementing this. I am willing to work with the unstable > interface. > > What is bothering me is that zfs_get_user_props takes a zfs_handle_t* > as an input arg. Since I am working within the kernel, I have only a > spa_t* to work with, and I can't figure out how to get a zfs_handle_t* > from the spa_t*. > > How do I get a proper zfs_handle_t*?
Wow, I didn't know you were in the kernel. Yeah, things are a little different there ;-) You can use dsl_prop_get() to get a property for a particular dataset. - Eric -- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock