Fix code as per new kernel headers

1. Change to new proc_fs create apis using fops.
2. Fix i_dentry to hlist.