commit | 469796d10590341c53cff0a2959254eaf5d465de | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jun 07 20:51:39 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 14 16:35:06 2012 +0400 |
tree | 74728e34d43bbcd16600de66df8c453d3a35ee63 | |
parent | 79714f72d3b964611997de512cb29198c9f2dbbb [diff] |
sysfs: switch to ->s_d_op and ->d_release() a) ->d_iput() is wrong here - what we do to inode is completely usual, it's dentry->d_fsdata that we want to drop. Just use ->d_release(). b) switch to ->s_d_op - no need to play with d_set_d_op() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>