Re: [PATCH 4/5] Change sysfs_file_operations

From: viro
Date: Tue Aug 03 2004 - 08:01:51 EST


On Thu, Jul 29, 2004 at 03:43:59PM -0500, Maneesh Soni wrote:
>
>
>
> o This patch modifies the sysfs_file_operations methods so as to get the
> kobject and attribute pointers via corresponding sysfs_dirent.

Hmm... After looking at that, I'd probably add typed inlined helpers
(dentry to attr, dentry to kobject, dentry to bin_attr) and converted
to their use *before* everything else (patch #0). And change their
definitions to use sysfs_dirent in patch #1. That way we avoid breakage
on intermediate stages.
-
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/