[PATCH] sysfs-iattr: attach sysfs_dirent before new inode
authorManeesh Soni <maneesh@in.ibm.com>
Tue, 31 May 2005 05:08:12 +0000 (10:38 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:36 +0000 (15:15 -0700)
commit6fa5c828c7fb6beef7035864bd2b18e7386fbdd5
tree88c7c0a03fe13ad802721dcd54b9b93733e964fe
parent050480f12aeab62d39a1a07546606a47217ebefa
[PATCH] sysfs-iattr: attach sysfs_dirent before new inode

o The following patch makes sure to attach sysfs_dirent to the dentry before
  allocation a new inode through sysfs_create(). This change is done as
  preparatory work for implementing ->i_op->setattr() functionality for
  sysfs objects.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c