//CODE
int my_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
{
struct vfsmount *temp_mnt;
/*448*/ for(temp_mnt = (current->fs->pwdmnt); temp_mnt->mnt_list.next != current->fs->pwdmnt; temp_mnt = temp_mnt->mnt_list.next)
{
printk("<0>************current : %s\n",temp_mnt->mnt_sb->s_type->name);
if( (temp_mnt->mnt_sb) == global_sb)
vfs_getattr(temp_mnt, (global_sb->s_root), stat);
}
return 0;
}
//OUTPUT
/ass/ram/ram.c:448: error: dereferencing pointer to incomplete type
/ass/ram/ram.c:448: error: dereferencing pointer to incomplete type
/ass/ram/ram.c:450: error: dereferencing pointer to incomplete type
/ass/ram/ram.c:451: error: dereferencing pointer to incomplete type