Skip to content
Commit 469796d1 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 79714f72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment