Re: [Patch?] Teach sysfs_get_name not to use a dentry

From: Adam J. Richter
Date: Thu Dec 02 2004 - 02:56:50 EST


I wrote:
>the kobject is available as sysfs_dirent->s_dentry->d_parent->s_fsdata.

Argh. I meant the attribute group's kobject is available as

((struct sysfs_dirent *) sysfs_dirent->s_dentry->d_parent->s_fsdata)->s_element

...although this is normally calculated with some intermediate
steps and variables for clarity.

__ ______________
Adam J. Richter \ /
adam@xxxxxxxxxxxxx | g g d r a s i l
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/