Is there any problem with simply doing void sysfs_clear_inode(struct inode *inode) { struct sysfs_dirent *sd = inode->i_private; sysfs_put(sd); } instead of (mis)using ->delete_inode()? Note that clear_inode() is not going to be called on any inodes with positive i_count, that you are forcibly evicting them from icache on the final iput() anyway and that clear_inode() is never called twice on the same struct inode()... Al, very unenthusiastic about ->delete_inode() instances in general - that sucker gets abused in the strangest ways by a lot of filesystems ;-/ -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html