Hi, you don't need to use the inode->i_op->getattr function. Since you already have access to the inode structure, then the i_iatime value is accesible from there: if (inode->i_atime) printk("%ld\n",inode->i_atime); else printk("didn't get i_atime\n"); Furthermore the gettattr function is not implemented at all. (pls someone correct this.) regds, - Alberto -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/