Re: [PATCH 2/5] Use sysfs_dirent tree for ->readdir etc.

From: viro
Date: Tue Aug 03 2004 - 07:52:47 EST


On Thu, Jul 29, 2004 at 03:39:19PM -0500, Maneesh Soni wrote:
>
> o This patch implements the sysfs_dir_operations file_operations strucutre for
> sysfs directories. It uses the sysfs_dirent based tree for ->readdir() and
> ->lseek() methods instead of simple_dir_operations which use dentry based
> tree.
>
> o This also has the code for sysfs_get() and sysfs_put() which manipulates
> the reference counting for for sysfs_dirents.

ACK, except that I'd move refcounting primitives to the chunk that actually
uses them.
-
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/