LWN.net Logo

sysfs backing store ver 0.5

From:  Maneesh Soni <maneesh@in.ibm.com>
To:  LKML <linux-kernel@vger.kernel.org>
Subject:  [RFC 0/6] sysfs backing store ver 0.5
Date:  Wed, 5 May 2004 18:27:02 +0530
Cc:  Al Viro <viro@parcelfarce.linux.theplanet.co.uk>, Greg KH <greg@kroah.com>

Hi,

The following patch set contains ver 0.5 patches implementing sysfa backig 
store for leaf sysfs entries. There have been changed from previuos version 
based on the comments from Al Viro. The main changes are

1) Re-implemented file_operations method for sysfs directories. 
sysfs_dir_open(), sysfs_dir_close(), sysfs_read_dir() and sysfs_dir_lseek()
are changed to use sysfs_dirent based tree instead of dentry based VFS tree.
This provides cleaner code and also corrects the error path in sysfs_open_dir()
where it might end up in close entries, opened by some other thread. 

2) ->umount_begin() is removed as mount -o remount provides the same 
functionalities.

3) changes to accomodate current sysfs changes related to symlinks and
sysfs_rename_dir()

The patch set needs the following patches to get applied on top of 
2.6.6-rc3-mm1 in the sequence as mentioned.

1) sysfs-symlinks-fix.patch
http://marc.theaimsgroup.com/?l=linux-kernel&m=108331963219401&w=2

2) kobject_set_name-cleanup-01.patch
http://marc.theaimsgroup.com/?l=linux-kernel&m=108366251207999&w=2

3) sysfs_rename_dir-cleanup.patch
http://marc.theaimsgroup.com/?l=linux-kernel&m=108373318213824&w=2

BTW, all the patches apply cleany to 2.6.6.-rc3-mm2 also.


Al, please let me know any further changes/suggestions.

Thanks
Maneesh


-- 
Maneesh Soni
IBM Linux Technology Center, 
IBM India Software Lab, Bangalore.
Phone: +91-80-5044999 email: maneesh@in.ibm.com
http://lse.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds